diff options
| author | Camil Staps | 2017-08-15 16:05:26 +0200 | 
|---|---|---|
| committer | Camil Staps | 2017-08-15 16:05:26 +0200 | 
| commit | e341ae62f15d59f64c66cc0abdf628fb160506e0 (patch) | |
| tree | 107d49c9fb014d5300f8ba6b0790e874384f9530 /Sil/Check.icl | |
| parent | Fix erroneous change from c5c4788b282a371fdc989e2d13430701f3457441 (diff) | |
Made some more errors positional (#5)
Diffstat (limited to 'Sil/Check.icl')
| -rw-r--r-- | Sil/Check.icl | 2 | 
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)  | 
