[FIR] FirRenderer: render name for scripts
A script name is important information, so it is better to render it. This also will fix the inconsistency with redundant space after 'SCRIPT:'.
This commit is contained in:
committed by
Space Team
parent
c6bb9af823
commit
12dc6b1ebc
Vendored
+1
-2
@@ -1,6 +1,6 @@
|
||||
FILE: [ResolvedTo(BODY_RESOLVE)] classMemberPropertyScript.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-classMemberPropertyScript.kts>
|
||||
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class X : R|kotlin/Any| {
|
||||
@@ -24,4 +24,3 @@ FILE: [ResolvedTo(BODY_RESOLVE)] classMemberPropertyScript.kts
|
||||
public [ResolvedTo(BODY_RESOLVE)] set([ResolvedTo(BODY_RESOLVE)] value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-2
@@ -1,6 +1,6 @@
|
||||
FILE: [ResolvedTo(BODY_RESOLVE)] classScript.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-classScript.kts>
|
||||
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
@@ -16,4 +16,3 @@ FILE: [ResolvedTo(BODY_RESOLVE)] classScript.kts
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-2
@@ -1,6 +1,6 @@
|
||||
FILE: [ResolvedTo(BODY_RESOLVE)] constructorsScript.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-constructorsScript.kts>
|
||||
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
@@ -16,4 +16,3 @@ FILE: [ResolvedTo(BODY_RESOLVE)] constructorsScript.kts
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-2
@@ -1,6 +1,6 @@
|
||||
FILE: [ResolvedTo(BODY_RESOLVE)] danglingAnnotationClassLevelScript.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-danglingAnnotationClassLevelScript.kts>
|
||||
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class Foo : R|kotlin/Any| {
|
||||
@@ -44,4 +44,3 @@ FILE: [ResolvedTo(BODY_RESOLVE)] danglingAnnotationClassLevelScript.kts
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
FILE: [ResolvedTo(BODY_RESOLVE)] declarationsInPropertyInitScript.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-declarationsInPropertyInitScript.kts>
|
||||
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
|
||||
+1
-2
@@ -1,6 +1,6 @@
|
||||
FILE: [ResolvedTo(BODY_RESOLVE)] enumClassScript.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-enumClassScript.kts>
|
||||
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] enum class A : R|kotlin/Enum<A>| {
|
||||
@@ -31,4 +31,3 @@ FILE: [ResolvedTo(BODY_RESOLVE)] enumClassScript.kts
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/enums/EnumEntries<A>|
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-2
@@ -1,6 +1,6 @@
|
||||
FILE: [ResolvedTo(BODY_RESOLVE)] enumClassWithBodyScript.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-enumClassWithBodyScript.kts>
|
||||
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] enum class A : R|kotlin/Enum<A>| {
|
||||
@@ -43,4 +43,3 @@ FILE: [ResolvedTo(BODY_RESOLVE)] enumClassWithBodyScript.kts
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/enums/EnumEntries<A>|
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-2
@@ -1,6 +1,6 @@
|
||||
FILE: [ResolvedTo(BODY_RESOLVE)] initBlockScript.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-initBlockScript.kts>
|
||||
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
@@ -20,4 +20,3 @@ FILE: [ResolvedTo(BODY_RESOLVE)] initBlockScript.kts
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
FILE: [ResolvedTo(BODY_RESOLVE)] localClassScript.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-localClassScript.kts>
|
||||
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun a(): R|kotlin/Unit| {
|
||||
|
||||
+1
-2
@@ -1,6 +1,6 @@
|
||||
FILE: [ResolvedTo(BODY_RESOLVE)] localFunScript.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-localFunScript.kts>
|
||||
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun x(): R|kotlin/Unit| {
|
||||
@@ -21,4 +21,3 @@ FILE: [ResolvedTo(BODY_RESOLVE)] localFunScript.kts
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-2
@@ -1,6 +1,6 @@
|
||||
FILE: [ResolvedTo(BODY_RESOLVE)] localPropertyScript.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-localPropertyScript.kts>
|
||||
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
|
||||
@@ -35,4 +35,3 @@ FILE: [ResolvedTo(BODY_RESOLVE)] localPropertyScript.kts
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-2
@@ -1,6 +1,6 @@
|
||||
FILE: [ResolvedTo(BODY_RESOLVE)] memberTypeAliasScript.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-memberTypeAliasScript.kts>
|
||||
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
@@ -11,4 +11,3 @@ FILE: [ResolvedTo(BODY_RESOLVE)] memberTypeAliasScript.kts
|
||||
public final [ResolvedTo(BODY_RESOLVE)] typealias X = R|kotlin/Int|
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-2
@@ -1,6 +1,6 @@
|
||||
FILE: [ResolvedTo(BODY_RESOLVE)] nestedClassesScript.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-nestedClassesScript.kts>
|
||||
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
@@ -37,4 +37,3 @@ FILE: [ResolvedTo(BODY_RESOLVE)] nestedClassesScript.kts
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-2
@@ -1,6 +1,6 @@
|
||||
FILE: [ResolvedTo(BODY_RESOLVE)] propertyAccessorsScript.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-propertyAccessorsScript.kts>
|
||||
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] var x: R|kotlin/Int| = Int(10)
|
||||
@@ -25,4 +25,3 @@ FILE: [ResolvedTo(BODY_RESOLVE)] propertyAccessorsScript.kts
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
FILE: [ResolvedTo(BODY_RESOLVE)] script.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-script.kts>
|
||||
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class Builder : R|kotlin/Any| {
|
||||
|
||||
+1
-2
@@ -1,6 +1,6 @@
|
||||
FILE: [ResolvedTo(BODY_RESOLVE)] superClassCallScript.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-superClassCallScript.kts>
|
||||
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public open [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
@@ -70,4 +70,3 @@ FILE: [ResolvedTo(BODY_RESOLVE)] superClassCallScript.kts
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
FILE: [ResolvedTo(BODY_RESOLVE)] topLevelExpressionBodyFunWithTypeScript.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-topLevelExpressionBodyFunWithTypeScript.kts>
|
||||
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Int| {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
FILE: [ResolvedTo(BODY_RESOLVE)] topLevelExpressionBodyFunWithoutTypeScript.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-topLevelExpressionBodyFunWithoutTypeScript.kts>
|
||||
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Int| {
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
FILE: [ResolvedTo(BODY_RESOLVE)] topLevelFunWithTypeScript.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-topLevelFunWithTypeScript.kts>
|
||||
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Int| {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
FILE: [ResolvedTo(BODY_RESOLVE)] topLevelPropertyScript.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-topLevelPropertyScript.kts>
|
||||
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] var x: R|kotlin/Int|
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
FILE: [ResolvedTo(BODY_RESOLVE)] topLevelUnitFunScript.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-topLevelUnitFunScript.kts>
|
||||
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
|
||||
|
||||
+1
-2
@@ -1,6 +1,6 @@
|
||||
FILE: [ResolvedTo(BODY_RESOLVE)] withoutNameScript.kts
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-withoutNameScript.kts>
|
||||
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun <no name provided>([ResolvedTo(BODY_RESOLVE)] a: R|kotlin/Int| = Int(1)): R|kotlin/String| {
|
||||
@@ -43,4 +43,3 @@ FILE: [ResolvedTo(BODY_RESOLVE)] withoutNameScript.kts
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user