[erlang-questions] type declarations
Wed Apr 22 08:45:16 CEST 2009
You can not use -spec in R12B.
On Tue, 2009-04-21 at 23:36 -0700, Howard Yeh wrote:
> 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
> erlang-questions mailing list
More information about the erlang-questions