Skip to content

Potentially a bug where it stops too early #2

Closed

Description

@Nytra

Activity

  1. Xlinka commented on Sep 23, 2025

    @Xlinka
    Contributor

    Yeah you're totally right, there's a logic bug in the VisitClassDeclaration method where it returns early and never gets to the actual validation loop.

    the problem is on lines 321 and 334 - if there's no attributes or if the NodeCategory attribute is missing arguments, it just bails out completely. but the validation that checks if the class inherits from a valid node type happens way down at line 347 in that foreach loop, so it never gets reached.

    the core issue is just moving that foreach validation loop outside of the conditional blocks so it always executes,

    I can fix this later on if you want me to @Nytra

  2. self-assigned this
    on Sep 23, 2025
  3. Nytra commented on Sep 23, 2025

    @Nytra
    CollaboratorAuthor

    sure

  4. Xlinka commented on Sep 30, 2025

    @Xlinka
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions