Skip to content

Docs for Odra 2.11: #[odra(..)] on non-entry-point functions, shared error codes - #63

Merged
kubaplas merged 1 commit into
masterfrom
docs/2.11-attrs-and-error-codes
Nov 13, 2026
Merged

kubaplas merged 1 commit into
masterfrom
docs/2.11-attrs-and-error-codes

Conversation

@kubaplas

Copy link
Copy Markdown
Contributor

Documents odradev/odra#711 in the unreleased docs (docusaurus/docs). Merge after that PR: the pages describe behaviour that is only on its branch so far.

  • Migration guide to v2.11.0: two new sections for the changes that can break a build — #[odra(..)] on a function that is not an entry point, and two errors with the same code in one contract — each with the error message and the fix. The opening line no longer says that no code changes are needed.
  • Errors: the note about unique discriminants now says what the scope is (a contract, not the project), why, and that the build checks it.
  • Attributes: one paragraph saying the attributes belong on entry points.

just build passes with no broken links.

🤖 Generated with Claude Code

…error codes

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@kubaplas
kubaplas merged commit 07ceb35 into master Nov 13, 2026
1 check passed
@kubaplas
kubaplas deleted the docs/2.11-attrs-and-error-codes branch November 13, 2026 12:33
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