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
and the parse_expr fails if one of the parsings have failed, as an example what happened in #504 - the VariableGet parsing failed, and it didn't get to try to parse Len.
Expected behavior
for it to parse all of them until at least one Ok
Additional context
its a rather sneaky issue because its hard to undestand what is the problem here. maybe i don't understand how it works, since i didnt even look at the macro source code - it looks like machine code to me.
i think @Ph0enixKM is literally the only person who actually understands how macros work, so please do comment
The text was updated successfully, but these errors were encountered:
Describe the bug
see #504
To Reproduce
it is an internal compiler bug, which doesn't happen in normal amber use case.
let me explain:
there are multiple
ExprType
, and it parses theExpr
with theparse_expr
macro:amber/src/modules/expression/expr.rs
Lines 135 to 160 in cd0338a
and the
parse_expr
fails if one of the parsings have failed, as an example what happened in #504 - the VariableGet parsing failed, and it didn't get to try to parse Len.Expected behavior
for it to parse all of them until at least one
Ok
Additional context
its a rather sneaky issue because its hard to undestand what is the problem here. maybe i don't understand how it works, since i didnt even look at the macro source code - it looks like machine code to me.
i think @Ph0enixKM is literally the only person who actually understands how macros work, so please do comment
The text was updated successfully, but these errors were encountered: