Don't suggest Add val/var to parameter at expect class constructor

#KT-29731 Fixed
This commit is contained in:
Dmitry Gridin
2019-05-15 15:34:01 +07:00
parent af9d9eacb1
commit 1097bc76af
6 changed files with 30 additions and 2 deletions
+2
View File
@@ -0,0 +1,2 @@
// ERROR: The feature "multi platform projects" is experimental and should be enabled explicitly
actual class A(<caret>a: Int)
@@ -0,0 +1,2 @@
// ERROR: The feature "multi platform projects" is experimental and should be enabled explicitly
actual class A(val<caret> a: Int)
+3
View File
@@ -0,0 +1,3 @@
// IS_APPLICABLE: false
// ERROR: The feature "multi platform projects" is experimental and should be enabled explicitly
expect class A(<caret>a: Int)
+5
View File
@@ -0,0 +1,5 @@
// IS_APPLICABLE: false
// ERROR: The feature "multi platform projects" is experimental and should be enabled explicitly
expect class A(a: Int) {
class B(<caret>b: String)
}