aboutsummaryrefslogtreecommitdiff
path: root/TypeRules.hs
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-09-02 10:18:40 +0200
committertomsmeding <tom.smeding@gmail.com>2017-09-02 10:18:40 +0200
commit35b17357b5b55e73c6bbc59e7dae094412b7b02a (patch)
treee3c9aa9d884a4a1c485df6f2494aca103f0351f5 /TypeRules.hs
parent2a54765a590e1d393442262002885adcbfe156cd (diff)
Fully support structs
Diffstat (limited to 'TypeRules.hs')
-rw-r--r--TypeRules.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/TypeRules.hs b/TypeRules.hs
index b73daf2..2eb8974 100644
--- a/TypeRules.hs
+++ b/TypeRules.hs
@@ -62,3 +62,4 @@ instance TypeOf Expression where
instance TypeOf AsExpression where
typeof (AEVar _ mt) = mt
typeof (AESubscript _ _ mt) = mt
+ typeof (AEGet _ _ mt) = mt