Skip to content

Commit b233749

Browse files
committed
fix: set renderedLiteralValue to UnknownValue on deopt for BinaryExpression
1 parent f7370ba commit b233749

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ast/nodes/BinaryExpression.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export default class BinaryExpression extends NodeBase implements DeoptimizableE
9292
renderedLiteralValue: string | typeof UnknownValue | typeof UNASSIGNED = UNASSIGNED;
9393

9494
deoptimizeCache(): void {
95-
this.renderedLiteralValue = UNASSIGNED;
95+
this.renderedLiteralValue = UnknownValue;
9696
}
9797

9898
getLiteralValueAtPath(

0 commit comments

Comments
 (0)