mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-03 00:20:40 +03:00
Improved initializer ICE error message.
This commit is contained in:
parent
508652fd8b
commit
364cfb6714
1 changed files with 2 additions and 1 deletions
|
@ -1509,7 +1509,8 @@ LLConstant* DtoConstExpInit(Loc loc, Type* type, Expression* exp)
|
||||||
}
|
}
|
||||||
else
|
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();
|
fatal();
|
||||||
}
|
}
|
||||||
assert(0);
|
assert(0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue