Files
kotlin-fork/compiler/testData/ir/irText/declarations/defaultArguments.txt
T
Dmitry Petrov bd1491ac8a psi2ir: Merge constant entries in string template expressions
This is required to handle UCNs properly, see KT-28006.

 #KT-28006
2018-11-08 12:29:15 +03:00

23 lines
1.1 KiB
Plaintext
Vendored

FILE fqName:<root> fileName:/defaultArguments.kt
FUN name:test1 visibility:public modality:FINAL <> (x:kotlin.Int, y:kotlin.Int, z:kotlin.String) returnType:kotlin.Unit flags:
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
VALUE_PARAMETER name:y index:1 type:kotlin.Int flags:
EXPRESSION_BODY
CONST Int type=kotlin.Int value=0
VALUE_PARAMETER name:z index:2 type:kotlin.String flags:
EXPRESSION_BODY
CONST String type=kotlin.String value="abc"
BLOCK_BODY
FUN name:local visibility:local modality:FINAL <> (xx:kotlin.Int, yy:kotlin.Int, zz:kotlin.String) returnType:kotlin.Unit flags:
VALUE_PARAMETER name:xx index:0 type:kotlin.Int flags:
EXPRESSION_BODY
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
VALUE_PARAMETER name:yy index:1 type:kotlin.Int flags:
EXPRESSION_BODY
GET_VAR 'value-parameter y: Int = ...' type=kotlin.Int origin=null
VALUE_PARAMETER name:zz index:2 type:kotlin.String flags:
EXPRESSION_BODY
GET_VAR 'value-parameter z: String = ...' type=kotlin.String origin=null
BLOCK_BODY