Skip to content

Remove stray println! from merge code#1034

Merged
ahl merged 1 commit into
oxidecomputer:mainfrom
danieleades:fix/merge-println
Jul 24, 2026
Merged

Remove stray println! from merge code#1034
ahl merged 1 commit into
oxidecomputer:mainfrom
danieleades:fix/merge-println

Conversation

@danieleades

Copy link
Copy Markdown
Contributor

typify-impl/src/merge.rs contained a leftover debug println! that dumps the raw subschema JSON to stdout whenever an if/then/else schema is encountered, polluting the stdout of any build using the macro or CLI. This folds that JSON into the unimplemented! panic message instead, so the diagnostic is preserved where it is actually seen. No functional change otherwise.

Fold the schema JSON into the unimplemented! panic message instead of
printing it to stdout, so library consumers (proc-macro and CLI) don't
get raw JSON noise on stdout.

@ahl ahl left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@ahl
ahl merged commit 1661e89 into oxidecomputer:main Jul 24, 2026
4 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.

2 participants