JS: fixes after code review

This commit is contained in:
Alexey Andreev
2016-11-23 19:08:15 +03:00
parent 46242f4430
commit c581ec6dd6
8 changed files with 11 additions and 11 deletions
@@ -64,7 +64,7 @@ class PatternMatchingTypingVisitor internal constructor(facade: ExpressionTyping
subject = leftHandSide,
sourceType = knownType,
targetType = rhsType,
operation = RttiOperation.IS
operation = if (expression.isNegated) RttiOperation.NOT_IS else RttiOperation.IS
)
components.rttiExpressionCheckers.forEach {
it.check(rttiInformation, expression, context.trace)