From 736b8a44818e5f5112c0676329f14a911acb58f1 Mon Sep 17 00:00:00 2001
From: Derval Guillaume <gderval@uliege.be>
Date: Sun, 4 Dec 2022 15:41:45 +0100
Subject: [PATCH] Small typing fix

---
 src/gboml/parsing.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gboml/parsing.py b/src/gboml/parsing.py
index 1421bee..9c14e01 100644
--- a/src/gboml/parsing.py
+++ b/src/gboml/parsing.py
@@ -182,7 +182,7 @@ def _lark_to_gboml(tree: Tree, filename: Optional[str] = None) -> GBOMLGraph:
             for name, import_from in zip(names, imports_from or repeat(None, len(names))):
                 yield VariableDefinition(scope, type or VarType.continuous, name, import_from, tags, meta=meta)
 
-        def variables_block(self, _: Meta, *defs: list[Iterable[VariableDefinition]]):
+        def variables_block(self, _: Meta, *defs: Tuple[Iterable[VariableDefinition]]):
             return [vd for iterable in defs for vd in iterable]
 
         def multi_loop(self, meta: Meta, *loops: Tuple[Loop]):
-- 
GitLab