scala-codesheet-api
scala-codesheet-api copied to clipboard
let it crash
from: https://github.com/CodeBrew-io/Issues/issues/6
Manifestation: this expression causes the insight window to go dead.
List[Int]() map (_ :: Nil)
Weirdly, it briefly recovers if that expression is on the very first line - it will then display the result of the second expression, but only that one.
List[Int]() map (_ :: Nil)
"mom" // this displays "mom" on line 1 (not line 3)
5 // but subsequent expressions are not displayed
10 // nope etc etc
Another element which should narrow it way down is that this expression is fine:
List[Int]() map (x => x :: Nil)