[test] Move irText tests from fir2ir/testData to compiler/testData
Let's store them conveniently in one place!
This commit is contained in:
committed by
Space Team
parent
c1ea3e7b53
commit
ebafdd3af0
+34
@@ -0,0 +1,34 @@
|
||||
class A {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
val a: Int
|
||||
field = 1
|
||||
get
|
||||
|
||||
val b: Int
|
||||
field = <this>.<get-a>().plus(other = 2)
|
||||
get
|
||||
|
||||
val c: Int
|
||||
field = 1
|
||||
get
|
||||
|
||||
val d: Int
|
||||
field = <this>.<get-c>().plus(other = 2)
|
||||
get
|
||||
|
||||
fun rest() {
|
||||
val aI: Int = A().<get-a>().plus(other = 10)
|
||||
val bI: Int = A().<get-b>().plus(other = 20)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
fun test() {
|
||||
val bA: Int = A().<get-b>().plus(other = 20)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user