Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: set renderedLiteralValue to UnknownValue on deopt for BinaryExpr…
…ession
  • Loading branch information
cyyynthia committed Jul 26, 2025
commit b23374916fd5e27dcc8eade79245fa2c244dd6df
2 changes: 1 addition & 1 deletion src/ast/nodes/BinaryExpression.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default class BinaryExpression extends NodeBase implements DeoptimizableE
renderedLiteralValue: string | typeof UnknownValue | typeof UNASSIGNED = UNASSIGNED;

deoptimizeCache(): void {
this.renderedLiteralValue = UNASSIGNED;
this.renderedLiteralValue = UnknownValue;
}

getLiteralValueAtPath(
Expand Down
Loading