Fix parsing of JavaScript number literals out of integer range
Fix KT-17219
This commit is contained in:
@@ -797,7 +797,7 @@ public class TokenStream {
|
||||
|
||||
this.number = dval;
|
||||
|
||||
if (isInteger) {
|
||||
if (isInteger && this.number >= Integer.MIN_VALUE && this.number <= Integer.MAX_VALUE) {
|
||||
return NUMBER_INT;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user