[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
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
class Foo(val x: Int) {
|
||||
fun foo() {
|
||||
<expr>foo()</expr>
|
||||
}
|
||||
}
|
||||
|
||||
Foo(1)
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun test() {
|
||||
<caret>Unit
|
||||
}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
BEFORE MODIFICATION:
|
||||
CODE FRAGMENT: {
|
||||
local final [ResolvedTo(RAW_FIR)] class Foo : R|kotlin/Any| {
|
||||
public [ResolvedTo(RAW_FIR)] [ContainingClassKey=Foo] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=<local>/x] x: R|kotlin/Int|): R|<local>/Foo| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val x: R|kotlin/Int| = R|<local>/x|
|
||||
public [ResolvedTo(RAW_FIR)] [ContainingClassKey=Foo] get(): R|kotlin/Int|
|
||||
|
||||
public final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| {
|
||||
this@R|<local>/Foo|.R|<local>/foo|()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
R|<local>/Foo.Foo|(Int(1))
|
||||
}
|
||||
|
||||
AFTER MODIFICATION:
|
||||
CODE FRAGMENT: { LAZY_BLOCK }
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
fun foo(a: Int, b: String) {}
|
||||
|
||||
fun bar() {
|
||||
<expr>foo(1, "foo")</expr>
|
||||
}
|
||||
|
||||
bar()
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun test() {
|
||||
<caret>Unit
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
BEFORE MODIFICATION:
|
||||
CODE FRAGMENT: {
|
||||
local final [ResolvedTo(RAW_FIR)] fun foo([ResolvedTo(RAW_FIR)] a: R|kotlin/Int|, [ResolvedTo(RAW_FIR)] b: R|kotlin/String|): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
local final [ResolvedTo(RAW_FIR)] fun bar(): R|kotlin/Unit| {
|
||||
R|/foo|(Int(1), String(foo))
|
||||
}
|
||||
|
||||
R|/bar|()
|
||||
}
|
||||
|
||||
AFTER MODIFICATION:
|
||||
CODE FRAGMENT: { LAZY_BLOCK }
|
||||
+1
@@ -0,0 +1 @@
|
||||
<expr>foo</expr>
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
package test
|
||||
|
||||
class Foo
|
||||
|
||||
fun test() {
|
||||
val foo = Foo()
|
||||
<caret>consume(foo)
|
||||
}
|
||||
|
||||
fun consume(foo: Foo) {}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
BEFORE MODIFICATION:
|
||||
CODE FRAGMENT: {
|
||||
R|<local>/foo|
|
||||
}
|
||||
|
||||
AFTER MODIFICATION:
|
||||
CODE FRAGMENT: { LAZY_BLOCK }
|
||||
Reference in New Issue
Block a user