Skip to content

Fix: Errors generated from invalid xrefs should fail build#300

Merged
hoodmane merged 1 commit intopyodide:masterfrom
hoodmane:invalid-xref-errors
Mar 30, 2026
Merged

Fix: Errors generated from invalid xrefs should fail build#300
hoodmane merged 1 commit intopyodide:masterfrom
hoodmane:invalid-xref-errors

Conversation

@hoodmane
Copy link
Copy Markdown
Member

Previously, if ts_type_xref_formatter generated a bad xref, it would not fail the build because the error reporter for the subdocument tree was not hooked up to the top level error reporter. This also fixes the line numbers reported in the errors.

@hoodmane hoodmane force-pushed the invalid-xref-errors branch from ed97ec7 to 3ca2c54 Compare March 30, 2026 13:20
Previously, if `ts_type_xref_formatter` generated a bad xref, it would not fail
the build because the error reporter for the subdocument tree was not hooked up
to the top level error reporter. This also fixes the line numbers reported in
the errors.
@hoodmane hoodmane force-pushed the invalid-xref-errors branch from 3ca2c54 to 230011d Compare March 30, 2026 13:23
@hoodmane hoodmane merged commit 83edaf2 into pyodide:master Mar 30, 2026
11 checks passed
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