[Invariant fix] Avoid re-resolving declared descriptors in lazy member scopes
It becomes necessary after scopes/types refinement Without it being applied the code might fail with slice-rewrite errors KT-32841
This commit is contained in:
committed by
Dmitry Savvinov
parent
ab9ff786d7
commit
5c2c7e7776
+3
-2
@@ -81,10 +81,11 @@ public class JavaPropertyDescriptor extends PropertyDescriptorImpl implements Ja
|
||||
@NotNull Visibility newVisibility,
|
||||
@Nullable PropertyDescriptor original,
|
||||
@NotNull Kind kind,
|
||||
@NotNull Name newName
|
||||
@NotNull Name newName,
|
||||
@NotNull SourceElement source
|
||||
) {
|
||||
return new JavaPropertyDescriptor(
|
||||
newOwner, getAnnotations(), newModality, newVisibility, isVar(), newName, SourceElement.NO_SOURCE, original,
|
||||
newOwner, getAnnotations(), newModality, newVisibility, isVar(), newName, source, original,
|
||||
kind, isStaticFinal,
|
||||
singleUserData);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user