Allowed "rewriting" unresolvedCache elements.
This is used to fix tests. The fix is pretty dirty, but related code is going to be thrown away anyway.
This commit is contained in:
+1
-1
@@ -226,7 +226,7 @@ public final class JavaClassResolver {
|
||||
}
|
||||
|
||||
private void cacheNegativeValue(@NotNull FqNameUnsafe fqNameUnsafe) {
|
||||
if (unresolvedCache.contains(fqNameUnsafe) || classDescriptorCache.containsKey(fqNameUnsafe)) {
|
||||
if (classDescriptorCache.containsKey(fqNameUnsafe)) {
|
||||
throw new IllegalStateException("rewrite at " + fqNameUnsafe);
|
||||
}
|
||||
unresolvedCache.add(fqNameUnsafe);
|
||||
|
||||
Reference in New Issue
Block a user