We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30ed58a commit c86fb4fCopy full SHA for c86fb4f
compiler/src/dotty/tools/dotc/typer/ReTyper.scala
@@ -52,6 +52,9 @@ class ReTyper(nestingLevel: Int = 0) extends Typer(nestingLevel) with ReChecking
52
override def typedSuper(tree: untpd.Super, pt: Type)(using Context): Tree =
53
promote(tree)
54
55
+ override def typedImport(tree: untpd.Import, sym: Symbol)(using Context): Tree =
56
+ promote(tree)
57
+
58
override def typedTyped(tree: untpd.Typed, pt: Type)(using Context): Tree = {
59
assertTyped(tree)
60
0 commit comments