assert JetJavaMirrorMaker cannot appear in resolve.java
This commit is contained in:
+1
-1
@@ -105,7 +105,7 @@ public abstract class JavaClassOrPackageScope extends JetScopeImpl {
|
||||
}
|
||||
|
||||
if (psiClass instanceof JetJavaMirrorMarker) {
|
||||
continue;
|
||||
throw new IllegalStateException("JetJavaMirrorMaker is not possible in resolve.java, resolving: " + resolverScopeData.fqName);
|
||||
}
|
||||
|
||||
// TODO: Temp hack for collection function descriptors from java
|
||||
|
||||
+1
-1
@@ -92,7 +92,7 @@ public class PsiClassFinderForJvm implements PsiClassFinder {
|
||||
}
|
||||
|
||||
if (result instanceof JetJavaMirrorMarker) {
|
||||
return null;
|
||||
throw new IllegalStateException("JetJavaMirrorMaker is not possible in resolve.java, resolving: " + qualifiedName);
|
||||
}
|
||||
|
||||
if (result == null) {
|
||||
|
||||
Reference in New Issue
Block a user