Has anyone got a shorter compiler-crasher than these 32 characters?
class&(val x:Unit)extends AnyVal
@extempore2, maybe?
Interesting! It crashes 2.12-M4. You'll crash 2.11.8 as soon as you try to create an instance of that, though. @extempore2
-
-
I tried this in one and it didn't crash: class&(val x:Unit)extends AnyVal object Main { var x : & = _ } /cc
@extempore2 -
neither did this: var y = new & I am inside an object. /cc
@extempore2
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.