aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compilador/astree/expr.py2
-rw-r--r--compilador/astree/type.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/compilador/astree/expr.py b/compilador/astree/expr.py
index 1015d74..27e237a 100644
--- a/compilador/astree/expr.py
+++ b/compilador/astree/expr.py
@@ -24,7 +24,7 @@ from astree.graphable import Graphable
from astree.type import Type
from astree.ident import Ident
-Expr = None
+Expr = type(None)
# An identifier access expression.
#
diff --git a/compilador/astree/type.py b/compilador/astree/type.py
index e0e3fd1..0ca20f9 100644
--- a/compilador/astree/type.py
+++ b/compilador/astree/type.py
@@ -24,7 +24,7 @@ from enum import Enum
from astree.graphable import Graphable
from tabla import Token
-Type = None
+Type = type(None)
# A built-in primitive type (int, bool, str, etc).
class BuiltinType(Enum):