Not initialiazed variables now returns BuiltinConcepts.NOT_INITIALIZED

This commit is contained in:
2020-05-23 10:01:50 +02:00
parent 3ce6ce2a76
commit 32fb0e5398
9 changed files with 25 additions and 22 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ class SheerkaPrinter:
if instructions.recursive_props:
for k, v in instructions.recursive_props.items():
if hasattr(item, k) and v > 0 and (value := getattr(item, k)) is not None:
if hasattr(item, k) and v > 0 and (value := getattr(item, k)) != BuiltinConcepts.NOT_INITIALIZED:
self.fp(instructions.recurse(k), value)
@staticmethod