[LL FIR] rename testdata to testData to avoid copyright generation
We exclude testData pattern from copyright scope
This commit is contained in:
committed by
Space Team
parent
aef5290210
commit
33e6a85a2d
+27
@@ -0,0 +1,27 @@
|
||||
/* anchor --> *//* anchor --> */class Builder {
|
||||
/* anchor --> */var version: String = ""/* <-- */
|
||||
|
||||
/* anchor --> */fun execute() {
|
||||
println(version)
|
||||
}/* <-- */
|
||||
}/* <-- */
|
||||
|
||||
/* anchor --> */fun build(/* anchor --> */action: Builder.() -> Unit/* <-- */) = Builder().apply(action)/* <-- */
|
||||
|
||||
build {
|
||||
version = "123"
|
||||
class A {
|
||||
fun doo() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
execute()
|
||||
}
|
||||
|
||||
/* anchor --> */val builder = build {
|
||||
version = "321"
|
||||
}/* <-- */
|
||||
|
||||
builder.execute()
|
||||
/* <-- */
|
||||
Reference in New Issue
Block a user