mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-21 15:23:13 +01:00
Emit file and line info for 'Array operation ... not recognized' error.
Fixes #326.
This commit is contained in:
@@ -612,7 +612,7 @@ static void errorOnIllegalArrayOp(Expression* base, Expression* e1, Expression*
|
||||
(t2->ty == Tarray || t2->ty == Tsarray)
|
||||
)
|
||||
{
|
||||
error("Array operation %s not recognized", base->toChars());
|
||||
base->error("Array operation %s not recognized", base->toChars());
|
||||
fatal();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user