FIR/UAST: commonize literal expressions
This commit is contained in:
committed by
Ilya Kirillov
parent
6b5bddeed7
commit
16b3d2110e
@@ -1,7 +1,7 @@
|
||||
UFile (package = declaration)
|
||||
UClass (name = Utils)
|
||||
UMethod (name = foo)
|
||||
[!] UnknownKotlinExpression (INTEGER_CONSTANT)
|
||||
ULiteralExpression (value = "not-yet-compile-time-constant")
|
||||
UMethod (name = buzz)
|
||||
UParameter (name = $this$buzz)
|
||||
[!] UnknownKotlinExpression (BLOCK)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package declaration
|
||||
|
||||
public final class Utils {
|
||||
public static final fun foo() : int = [!] UnknownKotlinExpression (INTEGER_CONSTANT)
|
||||
public static final fun foo() : int = "not-yet-compile-time-constant"
|
||||
public static final fun buzz($this$buzz: java.lang.String) : java.lang.String = [!] UnknownKotlinExpression (BLOCK)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user