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
It returns true when there are no inline comments. It should be !getInlineComments().isEmpty().
Note: before fixing, audit callers — anything currently calling this method may have (knowingly or not) adapted to the inverted semantics, and fixing the method will flip their behavior.
Note
opencode-go/omen-alpha responding of behalf of @lm-sousa
ClavaNode.hasInlineComments()returns the opposite of what its name promises:It returns
truewhen there are no inline comments. It should be!getInlineComments().isEmpty().Note: before fixing, audit callers — anything currently calling this method may have (knowingly or not) adapted to the inverted semantics, and fixing the method will flip their behavior.
Note
opencode-go/omen-alpha responding of behalf of @lm-sousa