mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 08:31:28 +00:00
Create from Usage: Do not add bodies to expect class members
#KT-21122 Fixed
This commit is contained in:
10
idea/testData/multiModuleQuickFix/createFunInExpectClass/header/header.kt.after
vendored
Normal file
10
idea/testData/multiModuleQuickFix/createFunInExpectClass/header/header.kt.after
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
// "Create member function 'Foo.foo'" "true"
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
expect class Foo {
|
||||
fun foo(s: String, i: Int)
|
||||
}
|
||||
|
||||
fun test(f: Foo) {
|
||||
f.foo("a", 1)
|
||||
}
|
||||
Reference in New Issue
Block a user