Stream: git-wasmtime

Topic: wasmtime / PR #4079 ISLE: handle out-of-order extern conv...


view this post on Zulip Wasmtime GitHub notifications bot (Apr 28 2022 at 01:22):

cfallin requested fitzgen for a review on PR #4079.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 28 2022 at 01:22):

cfallin requested abrown for a review on PR #4079.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 28 2022 at 01:22):

cfallin opened PR #4079 from isle-collect-externs-early to main:

This fixes a bug where the ISLE compiler would refuse to accept
out-of-order declarations in the order of: (i) use of an implicit
conversion backed by an extern constructor; (ii) extern declaration
for that constructor.

The issue was one of phase separation: we were capturing and noting
"extern constructor" status on terms in the same pass in which we were
typechecking and resolving implicit conversions. Given this knowledge,
the fix is straightforward: externs are picked up in a prior pass.

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Apr 28 2022 at 18:06):

fitzgen submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 28 2022 at 18:16):

cfallin merged PR #4079.


Last updated: Nov 22 2024 at 17:03 UTC