[erlang-questions] type record() undefined

Roger Lipscombe roger@REDACTED
Thu Jun 30 13:43:09 CEST 2016


I have the following:

-spec parse_json(JSON :: undefined | binary(), Record :: record(),
Parser :: function()) -> record().

With Erlang 18.3, I get "type record() undefined". With Erlang 17.x, I don't.

Was this always wrong, and the compiler's got stricter?



More information about the erlang-questions mailing list