From 126a78455bb707d1f8c5515a06ba7449395418d9 Mon Sep 17 00:00:00 2001 From: radrow Date: Sun, 3 Jul 2022 17:09:21 +0200 Subject: [PATCH] . --- src/aeso_fcode_to_fate.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aeso_fcode_to_fate.erl b/src/aeso_fcode_to_fate.erl index 817e5d9..c230d76 100644 --- a/src/aeso_fcode_to_fate.erl +++ b/src/aeso_fcode_to_fate.erl @@ -381,10 +381,10 @@ to_scode1(Env, {loop, Init, It, Expr}) -> [{loop, InitS, It, ExprS, ContRef, BreakRef}]; to_scode1(Env = #env{loop_it = It}, {continue, Expr}) -> ExprS = to_scode1(Env, Expr), - ExprS ++ [aeb_fate_ops:store({var, It}, {stack, 0}), push(?i(1))]; + ExprS ++ [aeb_fate_ops:store({var, It}, {stack, 0}), push(?i(true))]; to_scode1(Env, {break, Expr}) -> ExprS = to_scode1(Env, Expr), - ExprS ++ [push(?i(0))]; + ExprS ++ [push(?i(false))]; to_scode1(Env, {switch, Case}) -> split_to_scode(Env, Case).