This commit is contained in:
Jeremy Ashkenas 2010-12-06 23:39:06 -05:00
parent 2fb269a938
commit edd0c5af5a
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ exports.Scope = class Scope
# Gets the type of a variable.
type: (name) ->
for v in @variables when v.name is name then return v.type
return v.type for v in @variables when v.name is name
null
# If we need to store an intermediate result, find an available name for a