diff gen/aa.h @ 399:0e6b4d65d3f8

Give error messages for invalid casts. This required passing Loc information to certain functions. Fixes nocompile/b/bug_cgcs_354_A/B.
author Christian Kamm <kamm incasoftware de>
date Sat, 26 Jul 2008 17:19:16 +0200
parents facc562f5674
children 121624c14053
line wrap: on
line diff
--- a/gen/aa.h	Sat Jul 26 15:42:05 2008 +0200
+++ b/gen/aa.h	Sat Jul 26 17:19:16 2008 +0200
@@ -1,8 +1,8 @@
 #ifndef LLVMDC_GEN_AA_H
 #define LLVMDC_GEN_AA_H
 
-DValue* DtoAAIndex(Type* type, DValue* aa, DValue* key);
-DValue* DtoAAIn(Type* type, DValue* aa, DValue* key);
-void DtoAARemove(DValue* aa, DValue* key);
+DValue* DtoAAIndex(Loc& loc, Type* type, DValue* aa, DValue* key);
+DValue* DtoAAIn(Loc& loc, Type* type, DValue* aa, DValue* key);
+void DtoAARemove(Loc& loc, DValue* aa, DValue* key);
 
 #endif // LLVMDC_GEN_AA_H