From 389072fb12b2332806ac6007ccd30c78ae382833 Mon Sep 17 00:00:00 2001 From: Ulf Norell Date: Tue, 14 May 2019 09:32:52 +0200 Subject: [PATCH] Add stateful to __call --- src/aeso_compiler.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aeso_compiler.erl b/src/aeso_compiler.erl index 1927d98..2fb5763 100644 --- a/src/aeso_compiler.erl +++ b/src/aeso_compiler.erl @@ -188,7 +188,7 @@ insert_call_function(Code, FunName, Args, Options) -> [ Code, "\n\n", 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().