[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
+1
-1
@@ -1,5 +1,5 @@
|
||||
FILE: script.kts
|
||||
SCRIPT:
|
||||
SCRIPT: <script-script.kts>
|
||||
|
||||
public? final? class Builder : R|kotlin/Any| {
|
||||
public? constructor(): R|Builder| {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
FILE: script.kts
|
||||
SCRIPT:
|
||||
SCRIPT: <script-script.kts>
|
||||
|
||||
public? final? class Builder : R|kotlin/Any| {
|
||||
public? [ContainingClassKey=Builder] constructor(): R|Builder| {
|
||||
|
||||
@@ -191,7 +191,7 @@ class FirRenderer(
|
||||
annotationRenderer?.render(script)
|
||||
printer.print("SCRIPT: ")
|
||||
declarationRenderer?.renderPhaseAndAttributes(script) ?: resolvePhaseRenderer?.render(script)
|
||||
printer.newLine()
|
||||
printer.println(script.name)
|
||||
|
||||
printer.pushIndent()
|
||||
script.parameters.forEach {
|
||||
|
||||
Reference in New Issue
Block a user