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
This commit implements let-statement resolution, which includes:
* Resolution of new expressions.
* Resolution of access expressions.
The resolution of new expressions is complicated as it has to perform type
checks for the instantiation arguments; the logic of which is in the newly
implemented `SubtypeChecker`, which operates solely off of WAC type information.
Resolution now stores resolved "items" that have information attached about
where they were sourced from (i.e. an import statement, an instantiation,
etc.).
Type information has been refactored (again, sorry) to hopefully make more
sense and appear better in error messages.
Additionally, the grammar was updated to support named instantiation arguments
by identifier (and not just by strings).
Error reporting has also been cleaned up to remove duplicated information.
To support testing, a default `wat` feature allows for parsing component
dependencies from local `wat` files.
The CLI now supports passing the paths to known package dependencies (via the
`--dep` option).
0 commit comments