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
which is erroring too soon. Instead, the representation of parsed types should probably include a Var so that the name lookup can be done in validation, when the entire module state is built up already.
The text was updated successfully, but these errors were encountered:
I am new here, and may misunderstand something but the IsModuleField(PeekPair()) while loop completes in WastParser::ParseModuleFieldList before calling ResolveFuncTypes(module, errors_), so all types should be available.
An example program like the following should fail during validation:
Because the
ref $x
is unbound.Right now this will trigger an assertion failure:
which is erroring too soon. Instead, the representation of parsed types should probably include a
Var
so that the name lookup can be done in validation, when the entire module state is built up already.The text was updated successfully, but these errors were encountered: