Created
December 19, 2013 01:43
-
-
Save dt/8032962 to your computer and use it in GitHub Desktop.
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
scala> List(1, 2, 3).toSet() | |
[[syntax trees at end of typer]] // <console> | |
package $line3 { | |
object $read extends scala.AnyRef { | |
def <init>(): $line3.$read.type = { | |
$read.super.<init>(); | |
() | |
}; | |
object $iw extends scala.AnyRef { | |
def <init>(): type = { | |
$iw.super.<init>(); | |
() | |
}; | |
object $iw extends scala.AnyRef { | |
def <init>(): type = { | |
$iw.super.<init>(); | |
() | |
}; | |
private[this] val res0: Boolean = immutable.this.List.apply[Int](1, 2, 3).toSet[AnyVal].apply(()); | |
<stable> <accessor> def res0: Boolean = $iw.this.res0 | |
} | |
} | |
} | |
} | |
[[syntax trees at end of typer]] // <console> | |
package $line3 { | |
object $eval extends scala.AnyRef { | |
def <init>(): $line3.$eval.type = { | |
$eval.super.<init>(); | |
() | |
}; | |
lazy private[this] var $result: Boolean = _; | |
<stable> <accessor> lazy def $result: Boolean = { | |
$eval.this.$result = $line3.$read.$iw.$iw.res0; | |
$eval.this.$result | |
}; | |
private[this] val $print: String = { | |
$read.$iw.$iw; | |
"res0: Boolean = ".+(scala.runtime.ScalaRunTime.replStringOf($line3.$read.$iw.$iw.res0, 1000)) | |
}; | |
<stable> <accessor> def $print: String = $eval.this.$print | |
} | |
} | |
res0: Boolean = false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment