mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-01 07:30:43 +03:00
Fix compilation error
This commit is contained in:
parent
b7615f6a28
commit
ecd59cbb77
1 changed files with 1 additions and 1 deletions
|
@ -949,7 +949,7 @@ void DtoDefineFunction(FuncDeclaration* fd)
|
|||
* but the errors were gagged.
|
||||
* Try to reproduce those errors, and then fail.
|
||||
*/
|
||||
error("errors compiling function %s", fd->toPrettyChars());
|
||||
error(fd->loc, "errors compiling function %s", fd->toPrettyChars());
|
||||
fd->ir.defined = true;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue