[erlang-questions] simplified attribute declaration

Kenneth Lundin kenneth.lundin@REDACTED
Fri Mar 19 15:53:07 CET 2010


For -spec and -type you don't need the surrounding parentheses right
now and we don't
regard it as a bug.

It is possible that we will do something about the so called
inconsistency sooner or later.

/Kenneth Erlang/OTP, Ericsson

On Fri, Mar 19, 2010 at 3:08 PM, Vlad Dumitrescu <vladdu55@REDACTED> wrote:
> 2010/3/19 Kenneth Lundin <kenneth.lundin@REDACTED>:
>> We have no plans at all to support attributes without parentheses no matter if
>> the attribute has one or several parameters. That this syntax is
>> accepted now is a
>> bug which will be corrected.
>>
>> We will also make it mandatory to have a closing parenthesis in defines.
>
> This includes -spec and -type, or is the inconsistency going to remain?
>
> best regards,
> Vlad
>


More information about the erlang-questions mailing list