[K2] Correctly handle case when expect annotation is unresolved
Don't report if annotation has error type. Review: KT-MR-12250 ^KT-62026 Fixed
This commit is contained in:
committed by
Space Team
parent
04c1bf749c
commit
c88b4105c5
Vendored
-9
@@ -1,9 +0,0 @@
|
||||
// DIAGNOSTICS: -UNRESOLVED_REFERENCE
|
||||
// MODULE: m1-common
|
||||
// FILE: common.kt
|
||||
@NonExistingClass
|
||||
expect fun foo()
|
||||
|
||||
// MODULE: m1-jvm()()(m1-common)
|
||||
// FILE: jvm.kt
|
||||
actual fun <!ACTUAL_ANNOTATIONS_NOT_MATCH_EXPECT!>foo<!>() {}
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// DIAGNOSTICS: -UNRESOLVED_REFERENCE
|
||||
// MODULE: m1-common
|
||||
// FILE: common.kt
|
||||
|
||||
Reference in New Issue
Block a user