equal
deleted
inserted
replaced
3075 if (resultInfo.checkContext.deferredAttrContext().mode == AttrMode.CHECK) { |
3075 if (resultInfo.checkContext.deferredAttrContext().mode == AttrMode.CHECK) { |
3076 |
3076 |
3077 if (that.getMode() == ReferenceMode.INVOKE && |
3077 if (that.getMode() == ReferenceMode.INVOKE && |
3078 TreeInfo.isStaticSelector(that.expr, names) && |
3078 TreeInfo.isStaticSelector(that.expr, names) && |
3079 that.kind.isUnbound() && |
3079 that.kind.isUnbound() && |
3080 !desc.getParameterTypes().head.isParameterized()) { |
3080 lookupHelper.site.isRaw()) { |
3081 chk.checkRaw(that.expr, localEnv); |
3081 chk.checkRaw(that.expr, localEnv); |
3082 } |
3082 } |
3083 |
3083 |
3084 if (that.sym.isStatic() && TreeInfo.isStaticSelector(that.expr, names) && |
3084 if (that.sym.isStatic() && TreeInfo.isStaticSelector(that.expr, names) && |
3085 exprType.getTypeArguments().nonEmpty()) { |
3085 exprType.getTypeArguments().nonEmpty()) { |