summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/Contexts.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2006-09-20 16:28:04 +0000
committerMartin Odersky <odersky@gmail.com>2006-09-20 16:28:04 +0000
commit0e61f9c37e37e8338178b144b9294cb085100289 (patch)
treee1e6b4f9728c0491c51beab7254505f745a634ca /src/compiler/scala/tools/nsc/typechecker/Contexts.scala
parentbc14c4aa87d8df3569785fa77fe67693c57cf6c7 (diff)
downloadscala-0e61f9c37e37e8338178b144b9294cb085100289.tar.gz
scala-0e61f9c37e37e8338178b144b9294cb085100289.tar.bz2
scala-0e61f9c37e37e8338178b144b9294cb085100289.zip
fixed bug724
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Contexts.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Contexts.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Contexts.scala b/src/compiler/scala/tools/nsc/typechecker/Contexts.scala
index cfedec9775..69782a7483 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Contexts.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Contexts.scala
@@ -39,7 +39,7 @@ trait Contexts requires Analyzer {
val qual = gen.mkAttributedStableRef(pkg)
sc = sc.makeNewImport(
Import(qual, List(Pair(nme.WILDCARD, null)))
- .setSymbol(NoSymbol.newImport(NoPos).setInfo(ImportType(qual)))
+ .setSymbol(NoSymbol.newImport(NoPos).setFlag(SYNTHETIC).setInfo(ImportType(qual)))
.setType(NoType))
sc.depth = sc.depth + 1
}