Fix typo; closes #4187 (#4539)

This commit is contained in:
Geoffrey Booth
2017-05-06 06:11:21 -07:00
committed by GitHub
parent 22d0cc1012
commit e381e48a79
2 changed files with 2 additions and 2 deletions

View File

@@ -193,7 +193,7 @@
};
inImplicitControl = function() {
var ref;
return inImplicit && ((ref = stackTop()) != null ? ref[0] : void 0) === 'CONTROL';
return inImplicit() && ((ref = stackTop()) != null ? ref[0] : void 0) === 'CONTROL';
};
startImplicitCall = function(j) {
var idx;

View File

@@ -154,7 +154,7 @@ exports.Rewriter = class Rewriter
inImplicitObject = -> inImplicit() and stackTop()?[0] is '{'
# Unclosed control statement inside implicit parens (like
# class declaration or if-conditionals)
inImplicitControl = -> inImplicit and stackTop()?[0] is 'CONTROL'
inImplicitControl = -> inImplicit() and stackTop()?[0] is 'CONTROL'
startImplicitCall = (j) ->
idx = j ? i