[FIR] Fix incorrect work of K2 expect-actual matcher when actual is Java
...field, which is fake override. This was failing in Stdlib with `expect HashMap` + actual typealias to `java.util.HashMap`. ^KT-63624 Fixed
This commit is contained in:
committed by
Space Team
parent
3d2a37ee41
commit
ee1ee965a1
+1
-1
@@ -437,7 +437,7 @@ class FirExpectActualMatchingContextImpl private constructor(
|
||||
get() = asSymbol().rawStatus.hasStableParameterNames
|
||||
|
||||
override val CallableSymbolMarker.isJavaField: Boolean
|
||||
get() = this is FirFieldSymbol && fir.isJava
|
||||
get() = this is FirFieldSymbol && this.fir.unwrapFakeOverrides().isJava
|
||||
|
||||
override val DeclarationSymbolMarker.annotations: List<AnnotationCallInfo>
|
||||
get() = asSymbol().resolvedAnnotationsWithArguments.map(::AnnotationCallInfoImpl)
|
||||
|
||||
Reference in New Issue
Block a user