rebuilding narwhal uncovered a bug with named functions

This commit is contained in:
Jeremy Ashkenas
2010-01-01 22:00:34 -05:00
parent c3d0e50e8f
commit 38520bfece
4 changed files with 26 additions and 27 deletions

View File

@@ -21,8 +21,9 @@ checkForErrors: coffeeProcess =>
# command.
exports.run: args =>
if args.length
exports.evalCS(File.read(path)) for path in args
delete args[i] for path, i in args
for path, i in args
exports.evalCS(File.read(path))
delete args[i]
return true
while true