[LL FIR] rename testdata to testData to avoid copyright generation

We exclude testData pattern from copyright scope
This commit is contained in:
Dmitrii Gridin
2023-09-18 19:33:14 +02:00
committed by Space Team
parent aef5290210
commit 33e6a85a2d
1953 changed files with 2000 additions and 2000 deletions
@@ -0,0 +1,42 @@
// RESOLVE_SCRIPT
class Builder {
var version: String = ""
@Anno(En.Entry)
fun execute() {
println(version)
}
}
enum class En {
Entry
}
@Target(AnnotationTarget.EXPRESSION, AnnotationTarget.FUNCTION)
@Retention(AnnotationRetention.SOURCE)
annotation class Anno(val s: En)
@Anno(En.Entry)
fun build(action: Builder.() -> Unit) = Builder().apply(action)
@Anno(En.Entry)
build {
version = "123"
class A {
@Anno(En.Entry)
fun doo(i: Int) {
}
}
execute()
}
val builder = build {
version = "321"
}
@Anno(En.Entry)
builder.execute()
builder.version = ""