You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have noticed that this library can't parse TypScript and older editions of ember.js. I consider this a bug and not something that is not yet implemented or something that doesn't fail as it should according to the ECMA specs.
I further noticed a flaw in your numeric literal parsing. You seem to assume that all numbers - decimal, hex, octal, implicit octals etc - fits into 4 bytes.
In your code I see this: value = value * 8 + (codepoint - 0);
If your number length are equal to 10, 11, ... , 100, ... and so on, you will get a wrong result.
// J.K
The text was updated successfully, but these errors were encountered:
I have noticed that this library can't parse TypScript and older editions of ember.js. I consider this a bug and not something that is not yet implemented or something that doesn't fail as it should according to the ECMA specs.
I further noticed a flaw in your numeric literal parsing. You seem to assume that all numbers - decimal, hex, octal, implicit octals etc - fits into 4 bytes.
In your code I see this:
value = value * 8 + (codepoint - 0);
If your number length are equal to 10, 11, ... , 100, ... and so on, you will get a wrong result.
// J.K
The text was updated successfully, but these errors were encountered: