proposals icon indicating copy to clipboard operation
proposals copied to clipboard

Function Expression Decorators (Stage 0)

Open iddan opened this issue 7 years ago • 6 comments

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++
});

iddan avatar Mar 01 '18 11:03 iddan

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.

ljharb avatar Mar 01 '18 15:03 ljharb

Thanks @ljharb, I changed the issue.

xtuc avatar Mar 01 '18 16:03 xtuc

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.

littledan avatar Mar 01 '18 17:03 littledan

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

iddan avatar Mar 01 '18 17:03 iddan

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

littledan avatar Mar 01 '18 17:03 littledan

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.

ljharb avatar Mar 01 '18 17:03 ljharb