CoffeeScript-in-CoffeeScript is now able to compile subClass extends superClass

This commit is contained in:
Jeremy Ashkenas
2010-02-08 23:16:29 -05:00
parent 210d673ef0
commit 32098e5a13
4 changed files with 58 additions and 16 deletions

View File

@@ -36,7 +36,7 @@ Scope::reset: (name) ->
# Find an available, short, name for a compiler-generated variable.
Scope::free_variable: ->
(@temp_variable: succ(@temp_variable)) while check @temp_variable
(@temp_variable: succ(@temp_variable)) while @check @temp_variable
@variables[@temp_variable]: 'var'
@temp_variable