[FIR] Remove duplicate annotations from primary ctor params/properties
If an annotation doesn't specify an explicit use-site target, previously it was added to both, the primary constructor value parameter and the property in the FIR. Then, in FIR2IR, only the "correct" one was added to the IR. Move up the deduplication logic into the frontend. ^KT-56177 Fixed
This commit is contained in:
committed by
Space Team
parent
9268fd0e87
commit
eee66ab43f
@@ -66,7 +66,6 @@ public static final class Companion /* AnnoWithCompanion.Companion*/ {
|
||||
}
|
||||
|
||||
public final class CtorAnnotations /* CtorAnnotations*/ {
|
||||
@Anno()
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final java.lang.String x;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user