Skip to content

Conversation

@Abhilekhgautam
Copy link

Change the default behavior of the papercut pass to emit warnings, and provide an option to escalate them to errors.

Fixes #2302

);
self.diag.err(Error::papercut(msg).with_pos(pos));
let err = Error::papercut(msg).with_pos(pos);
errors_to_report.push(err);
Copy link
Contributor

Choose a reason for hiding this comment

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

Why can't this use self.report as well?

@rachitnigam
Copy link
Contributor

Hi! I don't have cycles for reviewing PRs within Calyx. Can you please request a reviewer from the #development channel in the Calyx Zulip? CC @EclecticGriffin @ayakayorihiro @sampsyo

@rachitnigam rachitnigam removed their request for review January 8, 2026 15:30
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.

Generate warnings instead of hard errors from the papercut pass

2 participants