Extraction Engine: Support lazy properties and properties with initializer
This commit is contained in:
+12
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user