-
-
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
Import/except doesn't work on devel #18986
Comments
There was a confirmed regression in Nim 1.6.0 nim-lang/Nim#18986
converter toBool(x: dbus_bool_t): bool = x != 0 Any further attempt to convert
|
|
@PMunch I took Nim 1.6.2 from |
Use Nim 1.6.2 from nixos-unstable channel where nim-lang/Nim#18986 is fixed.
Use Nim 1.6.2 from nixos-unstable channel where nim-lang/Nim#18986 is fixed.
still broken on devel (731eabc) |
@xflywind, I saw you pinged me on Discord about this issue. Please try to keep everything in this issue, makes it easier to find and track messages :) I don't have a test case in Futhark unfortunately. Tried to build the project I mentioned above again now and I seem to have worked around this problem in Futhark somehow. |
I see, thanks |
I came across this when trying to compile my epaper project with the devel compiler. I managed to boil it down to a sample like this:
The
converter
was originally from mymacroutils
package (I think I'm going to remove this converter, it keeps creating weird bugs). The original code uses Futhark, and in that package I importmacroutils
withimport macroutils except Lit
. First of should an imported converter trickle through two modules? Secondly shouldn'timport macroutils except Lit
stop those converters from getting imported into Futhark in the first place?NOTE: The above fails both on devel and on stable, the bug is in the following snippets
Example
Current Output
Expected Output
The text was updated successfully, but these errors were encountered: