diff options
author | Sean McDirmid <sean.mcdirmid@gmail.com> | 2006-08-25 10:32:17 +0000 |
---|---|---|
committer | Sean McDirmid <sean.mcdirmid@gmail.com> | 2006-08-25 10:32:17 +0000 |
commit | 6d9e1774b9d543550473b3f32c4925d290c9edd1 (patch) | |
tree | 53fad0ab0cedebaadb4fdb8aa07675415596c9bf /test/files/neg/bug648.scala | |
parent | b5f66bdd72531b82a30a98872338f682d553f642 (diff) | |
download | scala-6d9e1774b9d543550473b3f32c4925d290c9edd1.tar.gz scala-6d9e1774b9d543550473b3f32c4925d290c9edd1.tar.bz2 scala-6d9e1774b9d543550473b3f32c4925d290c9edd1.zip |
Modified scopes and positions so they can be co...
Modified scopes and positions so they can be configured more flexibly.
Diffstat (limited to 'test/files/neg/bug648.scala')
-rw-r--r-- | test/files/neg/bug648.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/bug648.scala b/test/files/neg/bug648.scala index 6d10800795..6b8d70ff0d 100644 --- a/test/files/neg/bug648.scala +++ b/test/files/neg/bug648.scala @@ -3,7 +3,7 @@ import scala.tools.nsc.transform.Transform abstract class Detach extends Transform { import global._ class DetachTransformer extends Transformer { - def foo: Scope = new Scope( + def foo: Scope = newScope( List[Symbol]() map { sym => val newAcc = sym.cloneSymbol // def setFlag(mask: long): this.type |