adriaanm/scala-dev — pull request #16 by namin (2011-11-01 15:27:59+00:00)
Title: mixing in var updates

I didn't quite manage to reproduce the same error, but here are some, anyways. If you try the test case, you get:
```
testing: [...]/files/pos/virtnew_tops_newvar.scala [FAILED]
virtnew_tops_newvar.scala:61: error: reassignment to val
var yy = (xx = xx * 2) }
^
one error found
```

If you change this var to a val, this error disappears but you get a compiler error because of the bar statement:
```
Testing individual files
Log file 'files/pos/virtnew_tops_newvar-pos.log':
Possible compiler crash during test of: files/pos/virtnew_tops_newvar.scala
java.lang.Error: no-symbol does not have owner
at scala.reflect.internal.SymbolTable.abort(SymbolTable.scala:33)
at scala.reflect.internal.Symbols$NoSymbol$.owner(Symbols.scala:2416)
at scala.tools.nsc.transform.ExplicitOuter$OuterPathTransformer.outerSelect(ExplicitOuter.scala:216)
at scala.tools.nsc.transform.ExplicitOuter$OuterPathTransformer.outerValue(ExplicitOuter.scala:202)
at scala.tools.nsc.transform.ExplicitOuter$ExplicitOuterTransformer.transform(ExplicitOuter.scala:486)
at scala.reflect.api.Trees$Transformer.transform(Trees.scala:1201)
```

CC: @gkossakowski