From e20f978e71e43815ed59c51900e511c8985d28fa Mon Sep 17 00:00:00 2001 From: CrossNox Date: Mon, 28 Nov 2022 10:26:04 -0300 Subject: [PATCH] fix code for tests to pass --- src/rustint/core.clj | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/rustint/core.clj b/src/rustint/core.clj index f456c29..1a507ce 100644 --- a/src/rustint/core.clj +++ b/src/rustint/core.clj @@ -2139,10 +2139,9 @@ ; [{ (let x : i64 = 10 ; println! ( "{}" , x ) }) [fn main ( )] :sin-errores [[0 1] [[main [fn [() ()]] 2]]] 0 [[CAL 2] HLT] []] ; ^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -; TODO -; (defn inicializar-contexto-local -; -;) +(defn inicializar-contexto-local [amb] + amb +) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; RESTAURAR-CONTEXTO-ANTERIOR: Recibe un ambiente y, si su estado no es :sin-errores, lo devuelve intacto.