Skip to content

Commit

Permalink
Fix issue jashkenas#1455 - Inherited Class generated code does not ma…
Browse files Browse the repository at this point in the history
…tch order of

execution
  • Loading branch information
alanning committed Jul 20, 2011
1 parent d2d02bf commit 68d0337
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/nodes.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/nodes.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -896,8 +896,8 @@ exports.Class = class Class extends Base

@setContext name
@walkBody name, o
@ensureConstructor name
@body.expressions.unshift new Extends lname, @parent if @parent
@ensureConstructor name
@body.expressions.unshift @ctor unless @ctor instanceof Code
@body.expressions.push lname
@addBoundFunctions o
Expand Down

0 comments on commit 68d0337

Please sign in to comment.