-
-
Notifications
You must be signed in to change notification settings - Fork 5.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
invalid syntax (gotoifnot (true) 0)
from return type conversion of an opaque closure
#44723
Labels
bug
Indicates an unexpected problem or unintended behavior
compiler:lowering
Syntax lowering (compiler front end, 2nd stage)
Comments
simeonschaub
added
bug
Indicates an unexpected problem or unintended behavior
compiler:lowering
Syntax lowering (compiler front end, 2nd stage)
labels
Mar 24, 2022
I don't think |
Ah, good to know. > (expand-toplevel-expr '(= (:: (call demo) Any) (block (line 1 strnig) (opaque_closure (-> (tuple) (block (line 1 strnig) (if (true) 1 2)))))) 'none 0)
error: invalid syntax (gotoifnot (true) 0)
#0 (error ("invalid syntax (gotoifnot (true) 0)"))
#1 (compile-body/compile/lambda
((gotoifnot (true) 0)
(return 1) (label 0) (return 2)))
... |
simeonschaub
added a commit
that referenced
this issue
Mar 24, 2022
simeonschaub
added a commit
that referenced
this issue
Mar 24, 2022
simeonschaub
added a commit
that referenced
this issue
Mar 24, 2022
simeonschaub
added a commit
that referenced
this issue
Mar 24, 2022
simeonschaub
added a commit
that referenced
this issue
Mar 27, 2022
fixes #44723 Co-authored-by: Takafumi Arakaki <aka.tkf@gmail.com>
KristofferC
pushed a commit
that referenced
this issue
Mar 28, 2022
KristofferC
pushed a commit
that referenced
this issue
Apr 19, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Indicates an unexpected problem or unintended behavior
compiler:lowering
Syntax lowering (compiler front end, 2nd stage)
Meta.@lower
throws, so I guess it happens in the frontend?But
fe
throws something else?The text was updated successfully, but these errors were encountered: