Skip to content

Commit

Permalink
fix: Fix comparison on MethodMatcher
Browse files Browse the repository at this point in the history
  • Loading branch information
felipebz committed May 23, 2024
1 parent 7199edc commit 57d5aad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class MethodMatcher private constructor()
var i = -1
val nodes = arrayOfNulls<String>(3)
for (child in node.children) {
if (i < 2 && child.type === PlSqlGrammar.VARIABLE_NAME || child.type === PlSqlGrammar.IDENTIFIER_NAME) {
if (i < 2 && (child.type === PlSqlGrammar.VARIABLE_NAME || child.type === PlSqlGrammar.IDENTIFIER_NAME)) {
nodes[++i] = child.tokenOriginalValue
}
}
Expand Down

0 comments on commit 57d5aad

Please sign in to comment.