diff options
author | Camil Staps | 2017-07-20 20:40:38 +0000 |
---|---|---|
committer | Camil Staps | 2017-07-20 20:40:38 +0000 |
commit | 62c9c126ed3eedf981cc087938fd98f7afb17506 (patch) | |
tree | bdab83683ff75ab915d3d8af612235c55812d772 /Sil/Compile.icl | |
parent | Cleanup (diff) |
Check the type of the main function (should be Void)
Diffstat (limited to 'Sil/Compile.icl')
-rw-r--r-- | Sil/Compile.icl | 2 |
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 |