Mercurial > projects > ldc
changeset 1513:8a5570ddad25
Emit file and line info for 'Array operation ... not recognized' error.
Fixes #326.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Mon, 22 Jun 2009 19:31:25 +0200 |
parents | 09734fb929c0 |
children | 7a528017b4c6 833337c65fd3 |
files | gen/toir.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gen/toir.cpp Sun Jun 21 19:05:24 2009 +0200 +++ b/gen/toir.cpp Mon Jun 22 19:31:25 2009 +0200 @@ -612,7 +612,7 @@ (t2->ty == Tarray || t2->ty == Tsarray) ) { - error("Array operation %s not recognized", base->toChars()); + base->error("Array operation %s not recognized", base->toChars()); fatal(); } }