Safe delete: when invoking on actual, delete expect & actual neighbors

So #KT-15666 Fixed
This commit is contained in:
Mikhail Glukhikh
2018-06-27 13:50:18 +03:00
parent 50e70e4638
commit aac71bf904
17 changed files with 75 additions and 56 deletions
@@ -1,7 +1,6 @@
package test
expect class Foo {
val foo: Int
}
fun test(f: Foo) = f.foo
@@ -1,7 +1,6 @@
package test
actual class Foo {
actual val foo get() = 2
}
fun test(f: Foo) = f.foo