mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-19 06:13:14 +01:00
Improved initializer ICE error message.
This commit is contained in:
@@ -1509,7 +1509,8 @@ LLConstant* DtoConstExpInit(Loc loc, Type* type, Expression* exp)
|
||||
}
|
||||
else
|
||||
{
|
||||
error("cannot yet convert default initializer %s of type %s to %s", exp->toChars(), exp->type->toChars(), type->toChars());
|
||||
error(loc, "LDC internal error: cannot yet convert default initializer %s of type %s to %s",
|
||||
exp->toChars(), exp->type->toChars(), type->toChars());
|
||||
fatal();
|
||||
}
|
||||
assert(0);
|
||||
|
||||
Reference in New Issue
Block a user