[FE 1.0] Don't throw exception during substitution of accessors, just return original

This commit is contained in:
Victor Petukhov
2022-06-21 14:49:04 +02:00
committed by teamcity
parent db54d18c72
commit 00d1e46c5a
14 changed files with 254 additions and 1 deletions
@@ -119,7 +119,7 @@ public abstract class PropertyAccessorDescriptorImpl extends DeclarationDescript
@NotNull
@Override
public FunctionDescriptor substitute(@NotNull TypeSubstitutor substitutor) {
throw new UnsupportedOperationException(); // TODO
return this; // no substitution since we work with originals of accessors in the backend anyway
}
@NotNull