mirror of
https://github.com/valitydev/parse_trans.git
synced 2024-11-06 08:35:17 +00:00
17 lines
245 B
Erlang
17 lines
245 B
Erlang
-module(test_exprecs).
|
|
|
|
-compile({pt_pp_src, true}).
|
|
|
|
-export([f/0]).
|
|
|
|
-compile({parse_transform, exprecs}).
|
|
|
|
-record(r, {a = 0 :: integer(), b = 0 :: integer(), c = 0 :: integer()}).
|
|
-record(s, {a}).
|
|
|
|
-export_records([r, s]).
|
|
|
|
|
|
f() ->
|
|
foo.
|