
trec.erl:28:1: Function test/0 has no local return
trec.erl:29:15: The call trec:mk_foo_loc(42,any()) will never return since it differs in the 1st argument from the success typing arguments: ('undefined',atom())
trec.erl:31:1: Function mk_foo_loc/2 has no local return
trec.erl:32:22: Record construction violates the declared type for #foo{} since variable A cannot be of type atom()
trec.erl:38:1: Function mk_foo_exp/2 has no local return
trec.erl:39:22: Record construction violates the declared type for #foo{} since variable A cannot be of type atom()
