[K1, K2, CLI] Mark whole position range of compiler diagnostics in CLI
#KT-64989
This commit is contained in:
committed by
Space Team
parent
5b11308d1b
commit
7eab4b672d
+2
-2
@@ -13,10 +13,10 @@ compiler/testData/multiplatform/classScopes/functionAndPropertyWithSameName/jvm.
|
||||
actual fun bar(): String
|
||||
|
||||
actual class Foo {
|
||||
^
|
||||
^^^
|
||||
compiler/testData/multiplatform/classScopes/functionAndPropertyWithSameName/jvm.kt:4:16: error: 'actual fun bar(): String' has no corresponding expected declaration
|
||||
The following declaration is incompatible because callable kinds are different (function vs property):
|
||||
expect val bar: String
|
||||
|
||||
actual fun bar(): String = ""
|
||||
^
|
||||
^^^
|
||||
|
||||
Reference in New Issue
Block a user