Skip to content

Disable obsolete warnings in event sub generated code#6812

Merged
metalgearsloth merged 1 commit into
space-wizards:masterfrom
deltanedas:srcgen-obsolete-ops
Jul 18, 2026
Merged

Disable obsolete warnings in event sub generated code#6812
metalgearsloth merged 1 commit into
space-wizards:masterfrom
deltanedas:srcgen-obsolete-ops

Conversation

@deltanedas

Copy link
Copy Markdown
Contributor

event handlers will have their own obsoletion warnings, dont need to dupe them

this happened e.g. if you try to subscribe for DamageChangedEvent you couldnt suppress the warnings for the generated code if you suppressed the event handler.
dont need 2 warnings for 1 actual source

@deltanedas
deltanedas requested a review from DrSmugleaf as a code owner July 17, 2026 10:20
@metalgearsloth metalgearsloth changed the title disable obsolete warnings in event sub generated code Disable obsolete warnings in event sub generated code Jul 18, 2026
@metalgearsloth
metalgearsloth merged commit 04815bf into space-wizards:master Jul 18, 2026
6 of 7 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