[erlang-questions] type declarations
Bengt Kleberg
bengt.kleberg@REDACTED
Wed Apr 22 08:45:16 CEST 2009
Greetings,
You can not use -spec in R12B.
bengt
On Tue, 2009-04-21 at 23:36 -0700, Howard Yeh wrote:
> Hi,
>
> I read the dialyzer on wrangler paper, and it looks really neat.
>
> I am trying to annotate my code with type declarations, but I am
> getting syntax errors.
>
> For the simple declaration,
>
> -spec test() -> 'ok'.
>
> I get,
>
> syntax error before: test
>
>
> Is there a flag i need to throw? I am using R12B
>
> Thanks,
> Howard
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
More information about the erlang-questions
mailing list