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 #8404 JS backend doesn't handle float->int type conversion #15950

Merged
merged 8 commits into from
Nov 13, 2020

Conversation

bung87
Copy link
Collaborator

@bung87 bung87 commented Nov 13, 2020

Fix #8404
Fix #7169

example in #8404 has ^ operator, it's another problem.

tests/js/t8404.nim Outdated Show resolved Hide resolved
tests/js/t8404.nim Outdated Show resolved Hide resolved
@Araq Araq merged commit 797cb2e into nim-lang:devel Nov 13, 2020
narimiran pushed a commit that referenced this pull request Nov 16, 2020
… [backport]

* Fix #8404 JS backend doesn't handle float->int type conversion
* handle conv to uint as cast, discard other cases
* limit to int32, times use int64
* toInt including tyInt64 break times timezones lib, ignore for now
* also affect to vm
* move to tests/misc/t8404.nim

(cherry picked from commit 797cb2e)
narimiran pushed a commit that referenced this pull request Nov 25, 2020
… [backport]

* Fix #8404 JS backend doesn't handle float->int type conversion
* handle conv to uint as cast, discard other cases
* limit to int32, times use int64
* toInt including tyInt64 break times timezones lib, ignore for now
* also affect to vm
* move to tests/misc/t8404.nim

(cherry picked from commit 797cb2e)
PMunch pushed a commit to PMunch/Nim that referenced this pull request Jan 6, 2021
nim-lang#15950) [backport]

* Fix nim-lang#8404 JS backend doesn't handle float->int type conversion
* handle conv to uint as cast, discard other cases
* limit to int32, times use int64
* toInt including tyInt64 break times timezones lib, ignore for now
* also affect to vm
* move to tests/misc/t8404.nim
mildred pushed a commit to mildred/Nim that referenced this pull request Jan 11, 2021
nim-lang#15950) [backport]

* Fix nim-lang#8404 JS backend doesn't handle float->int type conversion
* handle conv to uint as cast, discard other cases
* limit to int32, times use int64
* toInt including tyInt64 break times timezones lib, ignore for now
* also affect to vm
* move to tests/misc/t8404.nim
irdassis pushed a commit to irdassis/Nim that referenced this pull request Mar 16, 2021
nim-lang#15950) [backport]

* Fix nim-lang#8404 JS backend doesn't handle float->int type conversion
* handle conv to uint as cast, discard other cases
* limit to int32, times use int64
* toInt including tyInt64 break times timezones lib, ignore for now
* also affect to vm
* move to tests/misc/t8404.nim
ardek66 pushed a commit to ardek66/Nim that referenced this pull request Mar 26, 2021
nim-lang#15950) [backport]

* Fix nim-lang#8404 JS backend doesn't handle float->int type conversion
* handle conv to uint as cast, discard other cases
* limit to int32, times use int64
* toInt including tyInt64 break times timezones lib, ignore for now
* also affect to vm
* move to tests/misc/t8404.nim
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 backend doesn't handle float->int type conversion Strange type conversion to int32 data
3 participants