Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #17490 #17491

Merged
merged 4 commits into from
Mar 24, 2021
Merged

fix #17490 #17491

merged 4 commits into from
Mar 24, 2021

Conversation

ringabout
Copy link
Member

fix #17490

@@ -300,3 +300,14 @@ block: # bug #17383
when not defined(js):
testRoundtrip(int64.high): "9223372036854775807"
testRoundtrip(uint64.high): "18446744073709551615"


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

optional: can you also add a test in appropriate place in tjsonutils?

@@ -946,13 +947,13 @@ when defined(js):
else: assert false

proc len(x: JSObject): int =
assert x.getVarType == JArray
Copy link
Member Author

@ringabout ringabout Mar 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is unnecessary for its usage here.

@Araq Araq merged commit c015ecd into nim-lang:devel Mar 24, 2021
ardek66 pushed a commit to ardek66/Nim that referenced this pull request Mar 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

js: parseJson doesn't work properly with large numbers
3 participants