adding failing test case for #1182 execution order bug mentioned by

@satyr
This commit is contained in:
Michael Ficarra
2011-05-06 09:48:12 -04:00
parent 7a4fd2ec01
commit 4046fcf971

View File

@@ -461,3 +461,10 @@ test "#1313: misplaced __extends", ->
prop: nonce
constructor: ->
eq nonce, B::prop
test "#1182: execution order needs to be considered as well", ->
counter = 0
makeFn = (n) -> eq n, ++counter; ->
class B extends (makeFn 1)
@B: makeFn 2
constructor: makeFn 3