Extraction Engine: Support lazy properties and properties with initializer

This commit is contained in:
Alexey Sedunov
2015-03-02 15:56:01 +03:00
parent 03fada71d7
commit 5382504306
35 changed files with 461 additions and 64 deletions
@@ -0,0 +1,12 @@
// EXTRACTION_TARGET: property with initializer
class A(val n: Int = 1) {
val m: Int = 2
fun foo(): Int {
return if (n > 1) <selection>{
m + n + 1
}</selection> else 0
}
}