Skip to content
This repository

`super` and wrapped statement #1183

satyr opened this Issue March 05, 2011 · 2 comments

4 participants

Satoshi Murakami Jeremy Ashkenas Trevor Burnham Michael Ficarra
Satoshi Murakami
satyr commented March 05, 2011
$ coffee -bpe 'C::m = -> super'
C.prototype.m = function() {
  return C.__super__.m.apply(this, arguments);

$ coffee -bpe 'C::m = -> r = try super'
SyntaxError: cannot call super on an anonymous function.
Trevor Burnham

Since this bug is tagged for the 1.2 milestone, pinging @michaelficarra. Think you can tackle it?

Michael Ficarra

Yeah, I don't think it would be very hard. But finding time any time soon will be difficult. I have a lot on my plate, unfortunately, and have been limiting my github time to simply discussing code, not working on it.

Maxwell Krohn maxtaco referenced this issue from a commit in maxtaco/coffee-script April 11, 2012
Maxwell Krohn now it works for all of #1183. This should do it. 7b66e22
Maxwell Krohn maxtaco referenced this issue April 11, 2012

Bugfix 1183 #2252

Jeremy Ashkenas jashkenas closed this in 34be878 April 24, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.