assertion failed in TyperRun
Migrated from http://lampsvn.epfl.ch/trac/scala/ticket/2922
Reporter shaberman
Using tonight's nightly, [20585], I had this happen:
Reporter shaberman
Using tonight's nightly, [20585], I had this happen:
java.lang.AssertionError: assertion failed
at scala.Predef$.assert(Predef.scala:89)
at scala.tools.nsc.interactive.Global$TyperRun.typedTree(Global.scala:504)
at scala.tools.nsc.interactive.Global.typedTree(Global.scala:321)
at scala.tools.nsc.interactive.Global$$anonfun$getTypedTree$1.apply(Global.scala:331)
at scala.tools.nsc.interactive.Global$$anonfun$getTypedTree$1.apply(Global.scala:331)
at scala.tools.nsc.interactive.Global.respond(Global.scala:276)
at scala.tools.nsc.interactive.Global.getTypedTree(Global.scala:331)
at scala.tools.nsc.interactive.CompilerControl$$anon$3.apply(CompilerControl.scala:95)
at scala.tools.nsc.interactive.CompilerControl$$anon$3.apply(CompilerControl.scala:94)
at scala.tools.nsc.interactive.Global.pollForWork(Global.scala:132)
at scala.tools.nsc.interactive.Global$$anon$2.run(Global.scala:192)
I apologize, I really don't know how it happened--I was just screwing around with formatting/tabs/spaces and saw it go by. After that I could no longer "file/save" the file and had to close it to get it actually saved.
Leave a comment
on 2010-01-19 14:15 *
By
Were you using the vi plugin when this happened?
on 2010-01-19 21:24 *
By tracImporter
Trac author: shaberman
...yes (anticipating a wontfix ;-)
...yes (anticipating a wontfix ;-)
on 2010-01-19 22:02 *
By
The problem here is that the editor buffer is in an inconsistent state ... I suspect that this is also due to the vi plugins editing actions.
TBH, I don't think that either the vi plugin or the Scala IDE are at fault, it's just that they're both trying to modify the behaviour of the JDT's Java editor and conflicting as a result.
TBH, I don't think that either the vi plugin or the Scala IDE are at fault, it's just that they're both trying to modify the behaviour of the JDT's Java editor and conflicting as a result.
Updating tickets (#1000069, #1000195, #1000213, #1000223, #1000006, #1000021, #1000038, #1000048, #1000051, #1000052, #1000075, #1000103, #1000109, #1000115, #1000119, #1000156, #1000186, #1000207, #1000238, #1000262, #1000263, #380, #389, #683, #1238, #1331, #1635, #1645, #1715, #1729, #1744, #1783, #1839, #1869, #1885, #1890, #1902, #1918, #1919, #1924, #1925, #1946, #1964, #1991, #2131, #2233, #2342, #2348, #2408, #2459, #2499, #2523, #2572, #2582, #2602, #2614, #2615, #2675, #2710, #2745, #2763, #2816, #2830, #2834, #2878, #2879, #2887, #2888, #2901, #2911, #2912, #2922, #2937, #2938, #2942, #2951, #2955, #2957, #2961, #2964, #2965, #2974, #2975, #2989, #2990, #3002, #3055, #3070, #3087, #3135, #3139, #3173, #3182, #3184, #3200, #3213, #3214, #3221, #3243, #3251)