[erlang-questions] Attribute named type
Tue Feb 17 21:18:30 CET 2009
David Sveningsson <> writes:
> Hi, I'm using some user-defined attributes in my modules. I want to use
> one named type but I doesn't show up with module_info/1 or even
> Is it reserved by something or am I doing something else wrong? I tried
> to lookup the predefined attributes but I couldn't find anything about
> 'type'. I can read the other attributes fine.
-type and -spec are reserved. for type declarations and contract
specifications, respectively. AFAIK, they're only used by dialyzer.
More information about the erlang-questions