This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| meta: | |
| id: tasty | |
| file-extension: tasty | |
| endian: be | |
| seq: | |
| - id: magic | |
| contents: [0x5C, 0xA1, 0xAB, 0x1F] | |
| - id: major_version | |
| type: Nat | |
| - id: minor_version |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| object test { | |
| final val s = false | |
| if (s) { println("a")} // <-- will not be emmited in bytecode | |
| final val s1: Boolean = false | |
| if (s1) { println("b")} // <-- will be emmited in bytecode | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Class allocations by phase: | |
| Flatten | |
| dotty.tools.dotc.core.Contexts$InitialContext -> 36 | |
| FirstTransform | |
| dotty.tools.dotc.ast.Trees$Template -> 2 | |
| dotty.tools.dotc.ast.Trees$Apply -> 1 | |
| dotty.tools.dotc.ast.Trees$TypeDef -> 2 | |
| dotty.tools.dotc.core.Contexts$InitialContext -> 34 | |
| dotty.tools.dotc.ast.Trees$ValDef -> 4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $native-image -cp /Users/dark/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.11.11.jar:/Users/dark/workspace/dotty/bin/../library/target/scala-2.11/dotty-library_2.11-0.3.0-bin-SNAPSHOT-nonbootstrapped.jar:/Users/dark/.ivy2/cache/org.scala-lang.modules/scala-asm/bundles/scala-asm-5.1.0-scala-2.jar:/Users/dark/.ivy2/cache/org.scala-sbt/interface/jars/interface-0.13.15.jar:/Users/dark/workspace/dotty/bin/../interfaces/target/dotty-interfaces-0.3.0-bin-SNAPSHOT.jar:/Users/dark/workspace/dotty/bin/../compiler/target/scala-2.11/dotty-compiler_2.11-0.3.0-bin-SNAPSHOT-nonbootstrapped.jar:/Users/dark/workspace/dotty/bin/../library/target/scala-2.11/dotty-library_2.11-0.3.0-bin-SNAPSHOT-nonbootstrapped.jar -classpath /Users/dark/workspace/dotty/bin/../interfaces/target/dotty-interfaces-0.3.0-bin-SNAPSHOT.jar:/Users/dark/workspace/dotty/bin/../compiler/target/scala-2.11/dotty-compiler_2.11-0.3.0-bin-SNAPSHOT-nonbootstrapped.jar:/Users/dark/workspace/dotty/bin/../library/target/scala-2.11/dotty-library_2. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ native-image -cp /usr/local/Cellar/scala/2.12.2/libexec/lib/jline-2.14.3.jar:/usr/local/Cellar/scala/2.12.2/libexec/lib/scala-compiler.jar:/usr/local/Cellar/scala/2.12.2/libexec/lib/scala-library.jar:/usr/local/Cellar/scala/2.12.2/libexec/lib/scala-parser-combinators_2.12-1.0.5.jar:/usr/local/Cellar/scala/2.12.2/libexec/lib/scala-reflect.jar:/usr/local/Cellar/scala/2.12.2/libexec/lib/scala-swing_2.12-2.0.0.jar:/usr/local/Cellar/scala/2.12.2/libexec/lib/scala-xml_2.12-1.0.6.jar:/usr/local/Cellar/scala/2.12.2/libexec/lib/scalap-2.12.2.jar scala.tools.nsc.Main -verbose | |
| Executing [ | |
| /Users/dark/Downloads/graalvm-0.26-macosx-amd64-jdk8/graalvm-0.26/jre/bin/java \ | |
| -server \ | |
| -XX:+UnlockExperimentalVMOptions \ | |
| -XX:+EnableJVMCI \ | |
| -XX:-UseJVMCIClassLoader \ | |
| -XX:-UseJVMCICompiler \ | |
| -d64 \ | |
| -noverify \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class <emptyTree><<C <root>>> < () | |
| a = "part 1 of heredoc ".concat("not a heredoc".+("eom part\n").to_s()).concat("\n").concat("eom part\n").concat("EOM\n").concat("part 2 of heredoc\n").to_s() | |
| b = "oweqijfoiwjefqwoefij\n" | |
| def foo<<C <todo sym>>>(&<blk>) | |
| begin | |
| c = "oqweijfoqwiejf\n" | |
| <self>.puts(c) | |
| end |
OlderNewer