You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's a bug, in fact two separate bugs, one a segfault, the other one "code generation error: Function code not generated for 'test'", both need to be investigated and fixed. Given how simple the code is, I think this is a high priority bug, so I put it into our roadmap: #1600. Thanks for reporting it!
certik
changed the title
Error : Function code not generated
Bug: "x : i32 = test()" fails at top level
Apr 5, 2023
Running
gives
code generation error: Function code not generated for 'test'
.But declaring and assigning in different line
compiles successfully.
Not sure if this is intentional. This type of code runs fine in CPython.
The text was updated successfully, but these errors were encountered: