Improve diagnostic for non-actual declaration with weak incompatibility

This commit is contained in:
Mikhail Zarechenskiy
2017-10-11 20:04:42 +03:00
parent d0cbd73307
commit b2dc82f17e
9 changed files with 37 additions and 5 deletions
@@ -14,7 +14,7 @@ expect fun foo3<!JVM:NO_ACTUAL_FOR_EXPECT!>()<!>: Int
// FILE: jvm.kt
<!ACTUAL_WITHOUT_EXPECT!>interface<!> Foo1
<!DECLARATION_WITH_INCOMPATIBLE_EXPECT!>interface<!> Foo1
actual <!ACTUAL_WITHOUT_EXPECT!>interface<!> Foo2
actual fun foo1(): <!ACTUAL_WITHOUT_EXPECT!>String<!> = ""