Closed yoshihiro503 closed 5 years ago
Convert to the tuple patterns
When the record declaration is:
-record(rec, {foo :: integer(), bar :: string()}).
,
convert:
#rec{foo=<pattern>} -> ...
to:
{'rec', [<pattern>], '_'} -> ...
fixed by https://github.com/dwango/fialyzer/pull/285
Convert to the tuple patterns
Example
When the record declaration is:
,
convert:
to: