Skip to content

Allow marking an overwrite as optional - #211

Open
IThundxr wants to merge 1 commit into
FabricMC:mainfrom
IThundxr:feat/optional-overwrite
Open

Allow marking an overwrite as optional#211
IThundxr wants to merge 1 commit into
FabricMC:mainfrom
IThundxr:feat/optional-overwrite

Conversation

@IThundxr

@IThundxr IThundxr commented May 18, 2026

Copy link
Copy Markdown

Fixes #210

@LlamaLad7

Copy link
Copy Markdown
Member

Reasonable proposal though will need changes in the AP to prevent compile errors for optional overwrites.

@LlamaLad7 LlamaLad7 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Needs AP changes

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.

requireOverwriteAnnotation throws if a method is merged by another mixin when the method does not originally exist in the target class

2 participants