Re: compile: asm and core options
Björn Gustavsson <[email protected]> Fri, 13 Dec 2013 14:26:44 +0100
| Newsgroups | gmane.comp.lang.erlang.patches |
|---|---|
| Message-ID | <CA+yh78RQqMwOGTqD4PCDS8VwZG1OadtdNCRP5zYN8-LH_ROQiQ@mail.gmail.com> |
On Fri, Dec 13, 2013 at 2:08 PM, Tuncer Ayaz <[email protected]> wrote: > > > I and Björn-Egil discussed the options. We see no reason to have two > > names for the same option. So we suggest: > > I agree. > > > Remove the documentation for 'asm' and 'core', but retain the > > implementation for 'asm' and 'core'. > > So, you're suggesting to > * _only_ document 'from_asm' and 'from_core' and un-document 'asm' > * implement 'core' -> 'from_core' mapping > > Is that correct? > > Wouldn't it make more sense to _not_ implement 'core' and deprecate 'asm'? > Yes, it does. Make it so. :-) By deprecating, do you mean printing a message when the 'asm' option is used and internally translate it to 'to_asm'? I still think that 'asm' should be undocumented. -- Björn Gustavsson, Erlang/OTP, Ericsson AB _______________________________________________ erlang-patches mailing list [email protected] http://erlang.org/mailman/listinfo/erlang-patches