Files
kotlin-fork/analysis/low-level-api-fir/testData/getOrBuildFir/calls/setOperatorScript.kts
T
Dmitrii Gridin 33e6a85a2d [LL FIR] rename testdata to testData to avoid copyright generation
We exclude testData pattern from copyright scope
2023-09-18 21:12:45 +00:00

10 lines
175 B
Kotlin
Vendored

package test
class B(val n: Int) {
operator fun set(i: Int, a: B) {}
operator fun get(i: Int) : B {}
operator fun inc() : B {}
}
var a = B(1)
<expr>a[2]</expr>++