-
Notifications
You must be signed in to change notification settings - Fork 2k
?-operator not working for call to prototype-parental-method #3436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Not quite. |
Mr Jermey, @jashkenas ! I dearly admire your work, and really and honestly just thought I do it way too much, but that's for me not wanting to have idols at all and trying to find my balance in everything. Apart from that, would you be able to rethink your decision and consequently work on this? If you agree ... I'm happy, so please say so. So, show me some attention or respect the positive will to contribute to this wonderful tool of yours, coffeescipt ... come one, it's a mistake, why not change it? It wouldn't even break anything. I feel a bit annoyed. Cheers, Joehannes |
If you'd like to read all of the conversation about why it is the way it is, search for previous tickets ... like this one: Unfortunately, it would be a highly breaking change to change it at this point. Anyone that uses the |
I recommend avoiding the use of |
@michaelficarra can you also provide an alternative? Just to add a little spice ... ... the function again?! OK, Cheers, good evening, I try to respect your choice sire, and hope you choose wisely |
@jashkenas, i understand why changing this would be very cumbersome. But, if the general consensus is that On a more general note: i think that the tendency of programming languages to accumulate cruft and quirks over time for the sake of maintaining backwards compatibility could be mitigated if language implementers provided automatic ways to update when backward-incompatible changes need to happen. What do you people think? |
@joehannes: Be explicit, invoke the constructor without using the word @epidemian: I completely agree, and this is the reason I have avoided implementing |
@epidemian Sure, we can do it in a big update. It would be very nasty, because your old code would still be syntactically valid, but would now simply fail to call the function you were previously depending on calling ... and not even necessarily give you an error right at that point. It may fail mysteriously later, due to the lack of a side effect. If y'all think that sort of nasty change is worth getting rid of argument-less super for, then feel free to open a PR... |
Maybe we could, to give users time to upgrade, detect that |
That sounds like a good plan. |
hey!
today I tried to call super?().more...
it fails, because it actually compiles differently than a normal method check, please have a look, I honestly think it is a bug
cheers, Joehannes
The text was updated successfully, but these errors were encountered: