mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 08:31:35 +00:00
10 lines
234 B
Kotlin
10 lines
234 B
Kotlin
// "Create function 'foo' from usage" "false"
|
|
// ACTION: Replace with infix function call
|
|
// ACTION: Split property declaration
|
|
// ERROR: Unresolved reference: foo
|
|
|
|
class A<T>(val n: T)
|
|
|
|
fun test() {
|
|
val a: Int = A.<caret>foo(2)
|
|
} |