aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-11-25 23:22:13 -0600
committerIván Ávalos <avalos@disroot.org>2022-11-25 23:22:13 -0600
commitd01b073ccb1dd4c2a2306f5b53679edc8e1cd138 (patch)
tree78f2fd865606a8821e133246db80ae53e0c6a730
parent881ae40f989f649926a876a54c9a096c03cf9009 (diff)
downloadjavanol-d01b073ccb1dd4c2a2306f5b53679edc8e1cd138.tar.gz
javanol-d01b073ccb1dd4c2a2306f5b53679edc8e1cd138.tar.bz2
javanol-d01b073ccb1dd4c2a2306f5b53679edc8e1cd138.zip
Pequeño arreglo
-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):