Files
kotlin-fork/idea/testData/copyPaste/imports/ExtensionAsInfixOrOperator.kt
T
Pavel V. Talanov 61153c87e0 Insert imports on copy/paste
Introduce KotlinCopyPasteReferenceProcessor
2014-02-04 20:19:52 +04:00

12 lines
137 B
Kotlin

package a
class A() {}
fun A.plus(a: A) = this
fun A.infix(i: Int) = i
<selection>fun f(a: A) {
a + a
a infix 1
}</selection>