X Tutup
Skip to content

Handle flow via imports and exports in Unsubtyping#8439

Open
tlively wants to merge 1 commit intomainfrom
unsubtyping-import-export-jsinterop
Open

Handle flow via imports and exports in Unsubtyping#8439
tlively wants to merge 1 commit intomainfrom
unsubtyping-import-export-jsinterop

Conversation

@tlively
Copy link
Member

@tlively tlively commented Mar 10, 2026

We previously upated Unsubtyping so that any subtype of the result of a
JS-called function would keep its descriptor if that descriptor could
configure a JS prototype. But configured prototypes can also become
visible indirectly because they flow out of the module via imported or
exported functions, globals, or tables. Handle these cases of values
flowing in from or out to JS.

We previously upated Unsubtyping so that any subtype of the result of a
JS-called function would keep its descriptor if that descriptor could
configure a JS prototype. But configured prototypes can also become
visible indirectly because they flow out of the module via imported or
exported functions, globals, or tables. Handle these cases of values
flowing in from or out to JS.
@tlively tlively requested a review from kripken March 10, 2026 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

X Tutup