Basic class members generation.

Split testData into 'classes' and 'expressions'.
This commit is contained in:
Dmitry Petrov
2016-08-25 18:42:24 +03:00
committed by Dmitry Petrov
parent 703d3405ed
commit 0b647ac358
102 changed files with 356 additions and 244 deletions
+7
View File
@@ -0,0 +1,7 @@
fun foo(x: Int, y: Int) = x
fun bar(x: Int) = foo(x, 1)
fun qux(x: Int) = foo(foo(x, x), x)
fun Int.ext1() = this
fun Int.ext2(x: Int) = foo(this, x)
fun Int.ext3(x: Int) = foo(ext1(), x)