The Problem
Ordinary record type expression has no field information in type specs. like this:
Then, the field_types field of TyRecord in absform is almost empty.
(I think that many Erlang programmer does not know the explicit record type field syntax)
links
What should we do
Add a parameter module_info to the Type.of_absform like From_erlang.expr_of_erlang_expr'.
The Problem
Ordinary record type expression has no field information in type specs. like this:
Then, the
field_typesfield ofTyRecordin absform is almost empty.(I think that many Erlang programmer does not know the explicit record type field syntax)
links
What should we do
Add a parameter
module_infoto theType.of_absformlikeFrom_erlang.expr_of_erlang_expr'.