Add stateful to __call

This commit is contained in:
Ulf Norell 2019-05-14 09:32:52 +02:00
parent d8dd6b900f
commit 389072fb12

View File

@ -188,7 +188,7 @@ insert_call_function(Code, FunName, Args, Options) ->
[ Code, [ Code,
"\n\n", "\n\n",
lists:duplicate(Ind, " "), lists:duplicate(Ind, " "),
"function __call() = ", FunName, "(", string:join(Args, ","), ")\n" "stateful function __call() = ", FunName, "(", string:join(Args, ","), ")\n"
]). ]).
-spec insert_init_function(string(), options()) -> string(). -spec insert_init_function(string(), options()) -> string().