Add test methods and data base on raw fir builder test data

This commit is contained in:
Ivan Cilcic
2019-08-15 00:45:00 +03:00
committed by Mikhail Glukhikh
parent fd8205e317
commit 8047aa22a4
50 changed files with 1664 additions and 0 deletions
@@ -0,0 +1,37 @@
interface SomeInterface {
fun foo(x: Int, y: String): String
// Boolean
// │
val bar: Boolean
}
class SomeClass : SomeInterface {
// Int Int
// │ │
private val baz = 42
override fun foo(x: Int, y: String): String {
// SomeClass.foo.y: String
// │ fun (String).plus(Any?): String
// │ │ SomeClass.foo.x: Int
// │ │ │ fun (String).plus(Any?): String
// │ │ │ │ val (SomeClass).baz: Int
// │ │ │ │ │
return y + x + baz
}
// Boolean
// │
override var bar: Boolean
// Boolean
// │
get() = true
set(value) {}
// Double
// │
lateinit var fau: Double
}
inline class InlineClass