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
"incompatible type" when mixing float32 and cfloat in generics #19349
Labels
Comments
As this seems to be somewhat related to #19374 I checked whether the fix to #16246, specifically: That seems to be the case. Taking out the added code makes the example compile again. |
oakes
added a commit
to paranim/paranim_examples
that referenced
this issue
Feb 16, 2022
Works in 1.4.8 not in 1.6.0 |
bung87
added a commit
to bung87/Nim
that referenced
this issue
Oct 12, 2022
This was referenced Oct 12, 2022
Open
bung87
added a commit
to bung87/Nim
that referenced
this issue
Oct 13, 2022
bung87
added a commit
to bung87/Nim
that referenced
this issue
Oct 14, 2022
bung87
added a commit
to bung87/Nim
that referenced
this issue
Oct 14, 2022
Araq
pushed a commit
that referenced
this issue
Oct 21, 2022
narimiran
pushed a commit
that referenced
this issue
Oct 24, 2022
capocasa
pushed a commit
to capocasa/Nim
that referenced
this issue
Mar 31, 2023
bung87
added a commit
to bung87/Nim
that referenced
this issue
Jul 29, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mixing
float32
andcfloat
can sometimes lead to a strange error that exposes the generated C code.Example
Current Output
Expected Output
Additional Information
The code works in nim 1.2.6.
The text was updated successfully, but these errors were encountered: