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,22 @@
data class Some(val first: Int, val second: Double, val third: String)
fun foo(some: Some) {
// Int
// │ Double
// │ │ String foo.some: Some
// │ │ │ │
var (x, y, z: String) = some
// var foo.x: Int
// │fun (Int).inc(): Int
// ││
x++
// var foo.y: Double
// │ fun (Double).times(Double): Double
// │ │ Double
// │ │ │
y *= 2.0
// var foo.z: String
// │
z = ""
}