aboutsummaryrefslogtreecommitdiff
path: root/Sil/Check.icl
diff options
context:
space:
mode:
authorCamil Staps2017-08-15 16:05:26 +0200
committerCamil Staps2017-08-15 16:05:26 +0200
commite341ae62f15d59f64c66cc0abdf628fb160506e0 (patch)
tree107d49c9fb014d5300f8ba6b0790e874384f9530 /Sil/Check.icl
parentFix erroneous change from c5c4788b282a371fdc989e2d13430701f3457441 (diff)
Made some more errors positional (#5)
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)