ec97659462
Allow multiple carets to be used in reference resolve tests. Adjust the testdata for the only test case which has actually had multiple carets in it. Required for KT-65152 and KT-62695
30 lines
381 B
Kotlin
Vendored
30 lines
381 B
Kotlin
Vendored
class A {
|
|
var something: Int
|
|
set(value) {}
|
|
get() = 10
|
|
}
|
|
|
|
fun A.foo(a: A) {
|
|
print(a.<caret_1>something)
|
|
a.<caret_2>something = 1
|
|
a.<caret_3>something += 1
|
|
a.<caret_4>something++
|
|
--a.<caret_5>something
|
|
|
|
<caret_6>something++
|
|
(<caret_7>something)++
|
|
(<caret_8>something) = 1
|
|
(a.<caret_9>something) = 1
|
|
}
|
|
|
|
// MULTIRESOLVE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|