Simplify diagnostic message for ACTUAL_MISSING

#KT-21939 Fixed
This commit is contained in:
Alexander Udalov
2018-01-08 14:34:28 +01:00
parent 1530fbee1b
commit 8c6b140865
8 changed files with 8 additions and 8 deletions
@@ -1,4 +1,4 @@
// "Add 'actual' modifier" "true"
// ERROR: Declaration should be marked with 'actual' (suppress with -Xno-check-actual)
// ERROR: Declaration must be marked with 'actual'
class <caret>Foo
@@ -1,4 +1,4 @@
// "Add 'actual' modifier" "true"
// ERROR: Declaration should be marked with 'actual' (suppress with -Xno-check-actual)
// ERROR: Declaration must be marked with 'actual'
actual class Foo
@@ -1,5 +1,5 @@
// "Add 'actual' modifier" "true"
// ERROR: Declaration should be marked with 'actual' (suppress with -Xno-check-actual)
// ERROR: Declaration must be marked with 'actual'
actual class Foo {
fun <caret>foo() {}
@@ -1,5 +1,5 @@
// "Add 'actual' modifier" "true"
// ERROR: Declaration should be marked with 'actual' (suppress with -Xno-check-actual)
// ERROR: Declaration must be marked with 'actual'
actual class Foo {
actual fun foo() {}
@@ -1,4 +1,4 @@
// "Add 'actual' modifier" "true"
// ERROR: Declaration should be marked with 'actual' (suppress with -Xno-check-actual)
// ERROR: Declaration must be marked with 'actual'
fun <caret>foo() {}
@@ -1,4 +1,4 @@
// "Add 'actual' modifier" "true"
// ERROR: Declaration should be marked with 'actual' (suppress with -Xno-check-actual)
// ERROR: Declaration must be marked with 'actual'
actual fun foo() {}