Fix KNPE in "Move member to companion" for expect class #KT-28383 Fixed

This commit is contained in:
Mikhail Glukhikh
2018-11-22 18:27:47 +03:00
parent 41b75346fe
commit 5502d2de6a
4 changed files with 22 additions and 3 deletions
@@ -0,0 +1,5 @@
// ERROR: The feature "multi platform projects" is experimental and should be enabled explicitly
expect class Some {
val <caret>x: Int
}
@@ -0,0 +1,7 @@
// ERROR: The feature "multi platform projects" is experimental and should be enabled explicitly
expect class Some {
companion object {
val x: Int
}
}