From 3838a47694c2db10663ff79b7f54d4667e3fb9e1 Mon Sep 17 00:00:00 2001 From: Gaith Hallak Date: Mon, 21 Nov 2022 13:15:12 +0300 Subject: [PATCH] Separate guards with a semicolon --- src/aeso_ast_infer_types.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aeso_ast_infer_types.erl b/src/aeso_ast_infer_types.erl index 539b2ac..db8e4e3 100644 --- a/src/aeso_ast_infer_types.erl +++ b/src/aeso_ast_infer_types.erl @@ -229,7 +229,7 @@ force_bind_fun(X, Type, Env = #env{ what = What }) -> NoCode = get_option(no_code, false), Entry = if X == "init", What == contract, not NoCode -> {reserved_init, Ann, Type}; - What == contract orelse What == contract_interface -> {contract_fun, Ann, Type}; + What == contract; What == contract_interface -> {contract_fun, Ann, Type}; true -> {Ann, Type} end, on_current_scope(Env, fun(Scope = #scope{ funs = Funs }) ->