babel / proposals

✍️ Tracking the status of Babel's implementation of TC39 proposals (may be out of date)
https://github.com/tc39/proposals
432 stars 39 forks source link

Function Expression Decorators (Stage 0) #39

Open iddan opened 6 years ago

iddan commented 6 years ago

Author: @IgorMinar Spec doc: https://docs.google.com/document/d/1ikxIP5-RVYq6d_f8lAvf3pKC00W78ueyp-xIZ6q67uU/edit# Spec Repo: N/A Related proposals: https://github.com/tc39/proposal-decorators, https://docs.google.com/document/d/1Qpkqf_8NzAwfD8LdnqPjXAQ2wwh8BBUGynhn-ZlCWT0/edit

Example

scheduleForFrequentReexecution(@memoize function(value) { 
  value++
});
ljharb commented 6 years ago

Note that it’s not stage 0 until a TC39 member has agreed to champion it and has either presented it at a meeting or PRed it into the proposals repo.

xtuc commented 6 years ago

Thanks @ljharb, I changed the issue.

littledan commented 6 years ago

I thought Igor did present it at some point (though I don't remember when). In any case, Igor works for a TC39 member, so if he intends to present it in the future, then I think that's enough. I don't remember giving any sort of formal procedural status to the proposals repo here.

iddan commented 6 years ago

@ljharb @xtuc @littledan I'm confused because it does appears here: https://github.com/tc39/proposals/blob/master/stage-0-proposals.md

littledan commented 6 years ago

Oops, I should've checked. Seems like it's all good to go then.

ljharb commented 6 years ago

Ah, my apologies! I didn’t recognize your employer on your profile, nor did i check the proposals list first :-) i must have missed the original presentation.