From 3ed7e36d29983ec90b7caaa077ef2bc6e137ee1d Mon Sep 17 00:00:00 2001 From: Gaith Hallak Date: Tue, 6 Dec 2022 19:29:07 +0300 Subject: [PATCH] Wrap args of DBGLOC in immediate tuple --- src/aeso_fcode_to_fate.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aeso_fcode_to_fate.erl b/src/aeso_fcode_to_fate.erl index a6f5022..ae53e42 100644 --- a/src/aeso_fcode_to_fate.erl +++ b/src/aeso_fcode_to_fate.erl @@ -770,7 +770,7 @@ dbgloc(Env, Ann) -> case {Line, Col} of {undefined, _} -> []; {_, undefined} -> []; - {Line, Col} -> [{'DBGLOC', File, Line, Col}] + {Line, Col} -> [{'DBGLOC', {immediate, File}, {immediate, Line}, {immediate, Col}}] end end.