db8b0a6593
Fixed multi-caret selection in kotlin-to-kotlin copy-paste processor Relates to #KT-33939
20 lines
428 B
Kotlin
Vendored
20 lines
428 B
Kotlin
Vendored
// ERROR: Unresolved reference: B
|
|
// ERROR: Unresolved reference: B
|
|
// ERROR: Unresolved reference: B
|
|
// ERROR: A 'return' expression required in a function with a block body ('{...}')
|
|
package to
|
|
|
|
import a.A
|
|
import a.T
|
|
import java.util.*
|
|
import java.util.concurrent.atomic.AtomicReference
|
|
import java.util.concurrent.atomic.AtomicLong as ALong
|
|
|
|
fun g(t: T): Int {
|
|
g(A)
|
|
B.f()
|
|
A
|
|
B
|
|
A.Companion
|
|
B.Companion
|
|
} |