[FIR] Support IntegerLiteralTypes

This commit is contained in:
Dmitriy Novozhilov
2019-12-09 15:02:55 +03:00
parent 5577f0f8cb
commit b76c984b26
145 changed files with 1815 additions and 585 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
FILE: bar.kt
public final fun barbar(): R|kotlin/Int| {
^barbar Int(13)
^barbar IntegerLiteral(13)
}
+2 -2
View File
@@ -7,6 +7,6 @@ FILE: main.kt
R|<local>/foo|()
}
public final fun bar(): R|kotlin/Int| {
lval x: <implicit> = Int(4)
^bar Int(9).times#(x#)
lval x: <implicit> = IntegerLiteral(4)
^bar IntegerLiteral(9).times#(x#)
}
+1 -1
View File
@@ -3,5 +3,5 @@ FILE: callMe.kt
^callMe Int(42)
}
public final fun other(): R|kotlin/Unit| {
lval x: <implicit> = Int(1)
lval x: <implicit> = IntegerLiteral(1)
}