aboutsummaryrefslogtreecommitdiff
path: root/Sil/Check.icl
diff options
context:
space:
mode:
Diffstat (limited to 'Sil/Check.icl')
-rw-r--r--Sil/Check.icl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sil/Check.icl b/Sil/Check.icl
index b06824b..e17c378 100644
--- a/Sil/Check.icl
+++ b/Sil/Check.icl
@@ -102,7 +102,7 @@ where
findCBs (MachineStm _ _) = []
checkVoid :: (Type, Name) -> [Error]
- checkVoid (TVoid, n) = [Ck_LocalVoid f.f_name n]
+ checkVoid (TVoid, n) = [Ck_LocalVoid (errpos f) n]
checkVoid _ = []
checkErrors :: [(a -> [Error])] a *([Error], Maybe *File) -> *([Error], *Maybe *File)