Skip to content

feat(generator): Nicer generator error display#202

Merged
6d7a merged 3 commits intolibrasn:mainfrom
Rawk:nicer-GeneratorError-display
Jan 19, 2026
Merged

feat(generator): Nicer generator error display#202
6d7a merged 3 commits intolibrasn:mainfrom
Rawk:nicer-GeneratorError-display

Conversation

@Rawk
Copy link
Copy Markdown
Contributor

@Rawk Rawk commented Jan 11, 2026

Only include the "for " if there actually is a top_level_declaration.

Reuse ToplevelDefinition::name().

Impl Display for GeneratorErrorType and use it in impl Display for GeneratorError to get nicer errors.

Update parse_test::parses_modules snapshots.

Rawk added 3 commits January 11, 2026 18:42
Only include the "for " if there actually is a top_level_declaration.

Reuse `ToplevelDefinition::name()`.
And use it in impl `Display` for `GeneratorError` to get nicer errors.
@6d7a 6d7a merged commit 1284af2 into librasn:main Jan 19, 2026
1 check passed
@Rawk Rawk deleted the nicer-GeneratorError-display branch January 19, 2026 20:11
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.

2 participants