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

many bugfixes for js #14158

Merged
merged 4 commits into from
Apr 29, 2020
Merged

many bugfixes for js #14158

merged 4 commits into from
Apr 29, 2020

Conversation

metagn
Copy link
Collaborator

@metagn metagn commented Apr 29, 2020

fixes #12672, fixes #14153, closes #14123, closes #11331, fixes #11783, fixes #13966, fixes #14087, fixes #14117, closes #12256.

mostly fixes the fact that it was allowed to assign to newly created temp variables. additionally attempts to get rid of null initialized seqs/strings (though they might pop up here and there); this simplifies a lot of things and makes code size smaller. even if null seqs/strings pop up here and there it's still better than all those bugs existing.

Kind of sloppy (I was supposed to remove checkOverflowInt and checkOverflowInt64 but I kept them), if you don't like an unused change or formatting issue please say so.

metagn added 2 commits April 29, 2020 15:57
fixes #12672, fixes #14153, closes #14123, closes #11331, fixes #11783, fixes #13966, fixes #14087, fixes #14117, closes #12256.

mostly fixes the fact that it was allowed to assign to newly created temp variables. additionally attempts to get rid of null initialized seqs/strings (though they might pop up here and there); this simplifies a lot of things and makes code size smaller. even if null seqs/strings pop up here and there it's still better than all those bugs existing.
@Araq Araq merged commit 707367e into nim-lang:devel Apr 29, 2020
@metagn metagn deleted the jstemps branch April 29, 2020 19:11
@timotheecour
Copy link
Member

timotheecour commented Apr 29, 2020

also fixed #11788 !

@dom96
Copy link
Contributor

dom96 commented May 1, 2020

holy wow, thanks @hlaaftana!

@nc-x nc-x mentioned this pull request May 29, 2020
EchoPouet pushed a commit to EchoPouet/Nim that referenced this pull request Jun 13, 2020
* many bugfixes for js

fixes nim-lang#12672, fixes nim-lang#14153, closes nim-lang#14123, closes nim-lang#11331, fixes nim-lang#11783, fixes nim-lang#13966, fixes nim-lang#14087, fixes nim-lang#14117, closes nim-lang#12256.

mostly fixes the fact that it was allowed to assign to newly created temp variables. additionally attempts to get rid of null initialized seqs/strings (though they might pop up here and there); this simplifies a lot of things and makes code size smaller. even if null seqs/strings pop up here and there it's still better than all those bugs existing.

* formatting fixes

* CI fixes

* more CI fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment