Improve TokenizedLine::getScopeTree specs and fix bug

This commit is contained in:
Nathan Sobo
2014-03-28 10:51:30 -06:00
parent 958bc638d7
commit 2dda577d7c
2 changed files with 15 additions and 12 deletions

View File

@@ -162,7 +162,7 @@ class TokenizedLine
# Push onto common prefix until scopeStack equals desiredScopes
for j in [i...desiredScopes.length]
scopeStack.push(new Scope(scope))
scopeStack.push(new Scope(desiredScopes[j]))
class Scope
constructor: (@scope) ->