mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Uast: fix SOE in UVariableValue.create (EA-144064)
GitOrigin-RevId: b04c9f2b905a82abdf60fa1501780097077d50e4
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1946a270a6
commit
ec6d0d063d
@@ -81,7 +81,7 @@ class UVariableValue private constructor(
|
||||
val constant = value.toConstant()
|
||||
if (constant is UIntConstant && constant.type == UNumericType.INT) {
|
||||
val castConstant = UIntConstant(constant.value, variable.type)
|
||||
return create(variable, value.coerceConstant(castConstant), dependencies)
|
||||
return UVariableValue(variable, value.coerceConstant(castConstant), dependencies)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user