You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a reason why the code can't do just hasToken(type) instead of the more complicated parent type check? I am not familiar with the structure created by parser haxeCheckStyle uses but can't the parent for object declaration be almost anything?
AlexHaxe
added a commit
to AlexHaxe/haxe-checkstyle
that referenced
this issue
Mar 1, 2020
RightCurly uses tokentree to find curly braces. tokentree provides an easy way to find tokens, but sometimes it's harder to figure out what that token does and how it's used. Sometimes you have to look a few tokens up, down or sideways to see what's around a token and understand it's meaning.
Here is the testcase I tried. I would expect there to be no errors about object declarations if configuration tokens contain only IF.
The text was updated successfully, but these errors were encountered: