diff options
Diffstat (limited to 'sources')
-rw-r--r-- | sources/scalac/transformer/ExplicitOuterClassesPhase.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/scalac/transformer/ExplicitOuterClassesPhase.java b/sources/scalac/transformer/ExplicitOuterClassesPhase.java index 9b3f91eea7..62364d3342 100644 --- a/sources/scalac/transformer/ExplicitOuterClassesPhase.java +++ b/sources/scalac/transformer/ExplicitOuterClassesPhase.java @@ -58,10 +58,10 @@ public class ExplicitOuterClassesPhase extends Phase { /** Applies this phase to the given type for the given symbol. */ public Type transformInfo(Symbol symbol, Type type) { - if (symbol.isJava()) return type; - //System.out.println("!!! debug1 = " + Debug.show(symbol)); - //if (symbol.name.toString().equals("x")) new Error("!!!").printStackTrace(); + if (symbol.isPackage()) return type; + //System.out.println("!!! " + Debug.show(symbol) + ": " + type + " -> " + typeTransformer.apply(type)); type = typeTransformer.apply(type); + if (symbol.isJava()) return type; if (symbol.isConstructor()) { Symbol[] tparams = type.typeParams(); Symbol[] vparams = type.valueParams(); |