Skip to content
Browse files

little ditty

  • Loading branch information...
1 parent d625276 commit df05680f9537e7aa4346ee885d304f701ccdd4e1 @maxtaco committed Nov 25, 2011
Showing with 4 additions and 1 deletion.
  1. +3 −1 src/nodes.coffee
  2. +1 −0 src/tame.coffee
View
4 src/nodes.coffee
@@ -1789,7 +1789,9 @@ exports.Defer = class Defer extends Base
children : ['args']
compileNode : (p) ->
- # fix me
+ call = new Value new Literal tame.const.deferrals
+ meth = new Value new Literal tame.const.defer_method
+ call.add new Access meth
"defer()"
##### Call or Defer
View
1 src/tame.coffee
@@ -16,3 +16,4 @@ exports.const =
b_while : "_break"
t_while : "_while"
c_while : "_continue"
+ defer_method : "defer"

0 comments on commit df05680

Please sign in to comment.
Something went wrong with that request. Please try again.