scala-codesheet-api icon indicating copy to clipboard operation
scala-codesheet-api copied to clipboard

let it crash

Open MasseGuillaume opened this issue 12 years ago • 0 comments

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)

MasseGuillaume avatar Dec 04 '13 01:12 MasseGuillaume