Psi2Ir: Fold constants when generating IR
This is necessary to avoid stack overflow errors on large constant expressions.
This commit is contained in:
committed by
Dmitry Petrov
parent
e87d816994
commit
8c9ad81c76
@@ -1,4 +1,4 @@
|
||||
val test: Int
|
||||
field = Companion.<get-MIN_VALUE>()
|
||||
field = -2147483648
|
||||
get
|
||||
|
||||
|
||||
Reference in New Issue
Block a user