psi2ir: Merge constant entries in string template expressions

This is required to handle UCNs properly, see KT-28006.

 #KT-28006
This commit is contained in:
Dmitry Petrov
2018-11-06 18:00:35 +03:00
parent 6bb5e028a5
commit bd1491ac8a
84 changed files with 476 additions and 351 deletions
@@ -6,7 +6,7 @@ FILE fqName:<root> fileName:/defaultArguments.kt
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
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: