Skip to content

fix: report special opt rule as warning instead of error #4319

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ilbertt
Copy link
Member

@ilbertt ilbertt commented Jul 14, 2025

Description

Following up on dfinity/candid#648, we now show a warning when the new Candid declaration is a subtype of the old Candid declaration via a special opt rule (see https://github.com/dfinity/candid/blob/c7659ca/spec/Candid.md#upgrading-and-subtyping for more details).

Note: we should not merge this until a new Candid version with the mentioned fix is available.

How Has This Been Tested?

Same tests should pass.

Checklist:

  • The title of this PR complies with Conventional Commits.
  • I have edited the CHANGELOG accordingly.
  • I have made corresponding changes to the documentation.

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