blob: 3f668ecb68501efaffad57ff8f09f80fea4a3633 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package dotty.tools
package dotc
package typer
import ast.untpd._
import core._
import Symbols._, Names._, Denotations._, Types._, Contexts._
case class ImportInfo(sym: Symbol, selectors: List[Tree], scopeNestingLevel: Int) {
/** The (TermRef) type of the qualifier of the import clause */
def site(implicit ctx: Context): Type = {
val ImportType(expr) = sym.info
expr.tpe
}
}
|