Added === and !== in addition to == and !=

This commit is contained in:
Valentin Kipyatkov
2014-11-19 22:18:07 +03:00
parent a4513c6a00
commit 46c393d2db
3 changed files with 7 additions and 4 deletions
@@ -220,7 +220,7 @@ class PartialBodyResolveFilter(
expression.acceptChildren(this)
val operation = expression.getOperationToken()
if (operation == JetTokens.EQEQ || operation == JetTokens.EXCLEQ) {
if (operation == JetTokens.EQEQ || operation == JetTokens.EXCLEQ || operation == JetTokens.EQEQEQ || operation == JetTokens.EXCLEQEQEQ) {
result.addIfNotNull(expression.getLeft()?.smartCastExpressionName())
result.addIfNotNull(expression.getRight()?.smartCastExpressionName())
}