Skip to content

Commit

Permalink
Update src/types/resolveConstantValue.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Trunov <anton.a.trunov@gmail.com>
  • Loading branch information
byakuren-hijiri and anton-trunov authored Mar 27, 2024
1 parent b691644 commit 51d184c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/resolveConstantValue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function reduceInt(ast: ASTExpression): bigint {
return reduceIntImpl(ast)
} catch (error) {
if (error instanceof RangeError) {
throwError('Cannot evaluate expression due to integer overflow', ast.ref);
throwError('Cannot evaluate constant expression due to integer overflow', ast.ref);
} else {
throw error;
}
Expand Down

0 comments on commit 51d184c

Please sign in to comment.