-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[regression] dynamic dispatch on multiple arguments crashes compiler #8246
Comments
Using getSysSym made the compiler pick a random `and` symbol: if the symbol table is shuffled we may end up selecting one of the wrong overloads. Fixes nim-lang#8246
@LemonBoy indeed, I was seeing unrelated failures : https://travis-ci.org/nim-lang/Nim/jobs/401284582
hopefully the PR fixed it, but, curious how this regression was even possible; wouldn't have that failing test prevented the PR that introduced the bug from being green? or was it a flaky failure? |
Luck. Every time the |
This program can't be compiled with the latest devel version of Nim:
This issue is related to the fact that currently the CI tests fail.
The very surprising and slightly disturbing fact is: this issue is caused by the line
{.deprecated: [SomeReal: SomeFloat].}
in system.nim.Without this deprecation, the test-program compiles and runs correctly and so do the currently failing tests
method\tmultim2
andmethod\tmultim6
The text was updated successfully, but these errors were encountered: