summaryrefslogtreecommitdiff
path: root/sources/scalac/ast/TreeGen.java
diff options
context:
space:
mode:
Diffstat (limited to 'sources/scalac/ast/TreeGen.java')
-rw-r--r--sources/scalac/ast/TreeGen.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/scalac/ast/TreeGen.java b/sources/scalac/ast/TreeGen.java
index c832aca543..9ee22a0a32 100644
--- a/sources/scalac/ast/TreeGen.java
+++ b/sources/scalac/ast/TreeGen.java
@@ -251,6 +251,8 @@ public class TreeGen implements Kinds, Modifiers, TypeTags {
*/
public Tree mkRef(int pos, Type stable, Symbol symbol) {
switch (stable) {
+ case NoPrefix:
+ return Ident(pos, symbol);
case ThisType(Symbol clasz):
if (clasz.isRoot() || clasz.isNone()) return Ident(pos, symbol);
if (clasz.isPackage()) return mkRef(pos, mkGlobalRef(pos, clasz.module()), symbol); // !!!