summaryrefslogtreecommitdiff
path: root/test/files/run/t6745-2.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t6745-2.scala')
-rw-r--r--test/files/run/t6745-2.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/t6745-2.scala b/test/files/run/t6745-2.scala
index 31ecd42bd1..5afa65d28a 100644
--- a/test/files/run/t6745-2.scala
+++ b/test/files/run/t6745-2.scala
@@ -16,7 +16,7 @@ package context {
def check(source: String, unit: global.CompilationUnit) = {
val context: Context = global.analyzer.rootContext(unit)
val importInfo: ImportInfo = context.imports.head // Predef._
- val importedSym = importInfo.importedSymbol(nme.CONSTRUCTOR)
+ val importedSym = importInfo.importedSymbol(termNames.CONSTRUCTOR)
assert(importedSym == NoSymbol, importedSym) // was "constructor Predef"
}
}