mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-17 09:31:50 +01:00
Fix ouput for test diag8354
This commit is contained in:
@@ -3549,9 +3549,14 @@ DValue* VectorExp::toElem(IRState* p)
|
||||
STUB(Expression)
|
||||
STUB(ScopeExp)
|
||||
STUB(SymbolExp)
|
||||
STUB(PowExp)
|
||||
STUB(PowAssignExp)
|
||||
|
||||
DValue *PowExp::toElem(IRState * p)
|
||||
{
|
||||
error("must import std.math to use ^^ operator");
|
||||
return new DNullValue(type, llvm::UndefValue::get(DtoType(type)));
|
||||
}
|
||||
|
||||
llvm::Constant* Expression::toConstElem(IRState * p)
|
||||
{
|
||||
error("expression '%s' is not a constant", toChars());
|
||||
|
||||
Reference in New Issue
Block a user