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
The label construction is incorrect, as I was missing parentheses to add the Ident as a Child of Label.
I expected the well-formedness to fail. Instead, I got the following undescriptive runtime error:
terminate called after throwing an instance of 'std::out_of_range'
what(): vector::_M_range_check: __n (which is 0) >= this->size() (which is 0)
Aborted (core dumped)
Ideally, it should just throw the usual error about the well-formedness error
The text was updated successfully, but these errors were encountered:
xFrednet
changed the title
Undescriptive runtime error when well-formedness with a *symbol table entry* fails
Undescriptive runtime error when well-formedness with a symbol table entry fails
Sep 16, 2024
I have a well-formedness similar to this:
Notice that the
Label
node has an identifier which should be added to the symbol table.A rewrite rule returned something like this:
The label construction is incorrect, as I was missing parentheses to add the
Ident
as aChild
ofLabel
.I expected the well-formedness to fail. Instead, I got the following undescriptive runtime error:
Ideally, it should just throw the usual error about the well-formedness error
The text was updated successfully, but these errors were encountered: