Skip to content

Local class warning falsely produced outside of Mixin class #2546

@xpple

Description

@xpple

Minecraft Development for IntelliJ plugin version

2025.1-1.8.9

IntelliJ version

#IU-251.23774.435

Operating System

Windows 11

Target platform

No response

Description of the bug

Commit 904a7b7 introduces a check for local classes inside Mixins, but it is not actually checked whether the local class is inside a Mixin class. That is, it will now trigger for all local classes. Relevant code: MixinInnerClassInspection.kt#L44-L51.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions