Skip to content

surface typespace build errors instead of panicking - #1108

Merged
ahl merged 2 commits into
mainfrom
typespace-build-errors
Nov 16, 2026
Merged

ahl merged 2 commits into
mainfrom
typespace-build-errors

Conversation

@ahl

@ahl ahl commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

ahl added 2 commits November 15, 2026 21:31
The from_metadata constructors in type_entry.rs return the error typespace
reports for an invalid type (duplicate item names, invalid identifiers,
and the like) so it reaches the caller as Error::Typespace rather than a
panic inside the generator.
@ahl
ahl merged commit 36c945b into main Nov 16, 2026
4 checks passed
@ahl
ahl deleted the typespace-build-errors branch November 16, 2026 06:38
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