Psi2Ir: Fold constants when generating IR

This is necessary to avoid stack overflow errors on large constant
expressions.
This commit is contained in:
Steven Schäfer
2021-04-20 21:23:19 +02:00
committed by Dmitry Petrov
parent e87d816994
commit 8c9ad81c76
15 changed files with 69 additions and 31 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
val test: Int
field = Companion.<get-MIN_VALUE>()
field = -2147483648
get