aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dotty/tools/dotc/ast/Trees.scala5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/ast/Trees.scala b/src/dotty/tools/dotc/ast/Trees.scala
index be3e2eb5f..7463449c5 100644
--- a/src/dotty/tools/dotc/ast/Trees.scala
+++ b/src/dotty/tools/dotc/ast/Trees.scala
@@ -559,7 +559,10 @@ object Trees {
type ThisTree[-T >: Untyped] = SingletonTypeTree[T]
}
- /** qualifier # name */
+ /** qualifier # name
+ * In Scala, this always refers to a type, but in a Java
+ * compilation unit this might refer to a term.
+ */
case class SelectFromTypeTree[-T >: Untyped] private[ast] (qualifier: Tree[T], name: Name)
extends RefTree[T] {
type ThisTree[-T >: Untyped] = SelectFromTypeTree[T]