summaryrefslogtreecommitdiff
path: root/test/files/neg
diff options
context:
space:
mode:
authorSean McDirmid <sean.mcdirmid@gmail.com>2006-08-25 10:32:17 +0000
committerSean McDirmid <sean.mcdirmid@gmail.com>2006-08-25 10:32:17 +0000
commit6d9e1774b9d543550473b3f32c4925d290c9edd1 (patch)
tree53fad0ab0cedebaadb4fdb8aa07675415596c9bf /test/files/neg
parentb5f66bdd72531b82a30a98872338f682d553f642 (diff)
downloadscala-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')
-rw-r--r--test/files/neg/bug648.scala2
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