Closed jiaaro closed 11 years ago
Hmm, this might be fixed in 1.3.3c (though it's not working on the brochure site). Which version are you running? For me, it works fine in node.js
class A
get_number: (cb) ->
# do ajax
cb 10
class B extends A
get_number: (cb) ->
await super defer number
cb number + 1
new B().get_number console.log
does the right thing, on 1.3.3c.....
I'm using the browser version (it's embedded in a web view in a phonegap-esque app) -- turns out it's 1.3.1
I'll upgrade and check in again
You're right it's resolved in 1.3.3
LGTM, I have used this pattern with V8 in Titanium Mobile. Can this issue be closed?
the following code bombs:
Though it should function identically to this