Don't suggest Add val/var to parameter at expect class constructor
#KT-29731 Fixed
This commit is contained in:
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user