[erlang-questions] Style wars: junk comments

Anthony Ramine <>
Wed Sep 12 11:14:02 CEST 2012


Hi,

Unfortunately, attributes other than -record, -opaque, -type and -spec are forbidden after the first function form. See erl_lint:function_state/2.

Regards,

--
Anthony Ramine

Le 12 sept. 2012 à 09:56, "Richard O'Keefe" <> a écrit :

> This is something that is already allowed by Erlang syntax, so there
> is no actual language change.  The proposal is to use _this_ attribute
> for _this_ purpose: *semantic* sectioning.



More information about the erlang-questions mailing list