aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/typer/Typer.scala
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/src/dotty/tools/dotc/typer/Typer.scala')
-rw-r--r--compiler/src/dotty/tools/dotc/typer/Typer.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/typer/Typer.scala b/compiler/src/dotty/tools/dotc/typer/Typer.scala
index a053a0b0d..d05a0aaa7 100644
--- a/compiler/src/dotty/tools/dotc/typer/Typer.scala
+++ b/compiler/src/dotty/tools/dotc/typer/Typer.scala
@@ -1588,7 +1588,7 @@ class Typer extends Namer with TypeAssigner with Applications with Implicits wit
case (imp: untpd.Import) :: rest =>
val imp1 = typed(imp)
buf += imp1
- traverse(rest)(importContext(imp1.symbol, imp.selectors))
+ traverse(rest)(importContext(imp, imp1.symbol))
case (mdef: untpd.DefTree) :: rest =>
mdef.removeAttachment(ExpandedTree) match {
case Some(xtree) =>