[FIR] Let attributes opt-in to participating in ConeClassLikeTypeImpl structural equality
This is required for EnhancedTypeForWarningAttribute because scopes should not be reused between cone types with different values of this attribute. #KT-63208
This commit is contained in:
committed by
Space Team
parent
931cc48def
commit
9189154cae
+3
-3
@@ -141,7 +141,7 @@ FILE: [ResolvedTo(IMPORTS)] Derived.kt
|
||||
BODY_RESOLVE:
|
||||
TARGET: public open override [<synthetic> BODY_RESOLVE] val something: R|@R|Anno|(s = <strcat>(String(type: ), R|/prop|)) kotlin/String|
|
||||
@R|Anno|[Types](s = <strcat>(String(number: ), R|/prop|)) public [<synthetic> ResolvedTo(BODY_RESOLVE)] get(): R|@R|Anno|(s = <strcat>(String(type: ), R|/prop|)) kotlin/String| {
|
||||
^getSomething String(str).R|kotlin/also|<R|@R|Anno|(s = <strcat>(String(type: ), R|/prop|)) kotlin/String|>(::R|kotlin/io/println|)
|
||||
^getSomething String(str).R|kotlin/also|<R|kotlin/String|>(::R|kotlin/io/println|)
|
||||
}
|
||||
|
||||
FILE: [ResolvedTo(IMPORTS)] Derived.kt
|
||||
@@ -151,7 +151,7 @@ FILE: [ResolvedTo(IMPORTS)] Derived.kt
|
||||
}
|
||||
|
||||
@R|Anno|[Types](s = <strcat>(String(number: ), R|/prop|)) public open override [ResolvedTo(BODY_RESOLVE)] fun getSomething(): R|@R|Anno|(s = <strcat>(String(type: ), R|/prop|)) kotlin/String| {
|
||||
^getSomething String(str).R|kotlin/also|<R|@R|Anno|(s = <strcat>(String(type: ), R|/prop|)) kotlin/String|>(::R|kotlin/io/println|)
|
||||
^getSomething String(str).R|kotlin/also|<R|kotlin/String|>(::R|kotlin/io/println|)
|
||||
}
|
||||
|
||||
}
|
||||
@@ -178,7 +178,7 @@ FILE: [ResolvedTo(BODY_RESOLVE)] Derived.kt
|
||||
}
|
||||
|
||||
@R|Anno|[Types](s = <strcat>(String(number: ), R|/prop|)) public open override [ResolvedTo(BODY_RESOLVE)] fun getSomething(): R|@R|Anno|(s = <strcat>(String(type: ), R|/prop|)) kotlin/String| {
|
||||
^getSomething String(str).R|kotlin/also|<R|@R|Anno|(s = <strcat>(String(type: ), R|/prop|)) kotlin/String|>(::R|kotlin/io/println|)
|
||||
^getSomething String(str).R|kotlin/also|<R|kotlin/String|>(::R|kotlin/io/println|)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user