On 06/30/16 14:43, Roger Lipscombe wrote: > 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? Yes. Kostis