Skip to content

Conversation

@Xlinka
Copy link
Contributor

@Xlinka Xlinka commented Sep 30, 2025

fix issue 2

review plz

fix issue 2
@Nytra
Copy link
Collaborator

Nytra commented Sep 30, 2025

Finding it a bit hard to parse

Why does it need foundValidNodeType? Is _valid something different?

@Xlinka
Copy link
Contributor Author

Xlinka commented Sep 30, 2025

foundValidNodeType is a local flag inside VisitClassDeclaration that basically says “did we find a valid base node type for this class?”

_valid is a field that the generator uses later—most importantly in Result (if (!_valid) return "")— to decide whether to emit any code.

Result only cares about _valid, the local foundValidNodeType is redundant....

so i can remove it if you would like me to

@Nytra
Copy link
Collaborator

Nytra commented Sep 30, 2025

Just a bit confused, if it's not needed I think it's better to remove it

@Nytra
Copy link
Collaborator

Nytra commented Oct 3, 2025

My attempt to fix it #8

@Nytra
Copy link
Collaborator

Nytra commented Oct 3, 2025

I'm going to use mine because this one has conflicts

@Nytra Nytra closed this Oct 3, 2025
@Xlinka Xlinka deleted the issue-2 branch October 4, 2025 08:17
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.

3 participants