aboutsummaryrefslogtreecommitdiff
path: root/Sil/Compile.icl
diff options
context:
space:
mode:
Diffstat (limited to 'Sil/Compile.icl')
-rw-r--r--Sil/Compile.icl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sil/Compile.icl b/Sil/Compile.icl
index af82f3e..50cc86b 100644
--- a/Sil/Compile.icl
+++ b/Sil/Compile.icl
@@ -181,7 +181,7 @@ where
typeresolver :: Name -> Maybe (MaybeError TypeError Type)
typeresolver n = case [f \\ f <- p.p_funs | f.f_name == n] of
[] -> Nothing
- [f:_] -> type (const Nothing) f
+ [f:_] -> type zero f
instance gen Function
where