mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-12 02:43:14 +01:00
Use optimized array operators implemented in druntime
This commit is contained in:
@@ -33,7 +33,7 @@ static Module* getDefinedModule(Dsymbol* s)
|
||||
// array operations as well
|
||||
else if (FuncDeclaration* fd = s->isFuncDeclaration())
|
||||
{
|
||||
if (fd->isArrayOp)
|
||||
if (fd->isArrayOp == 1)
|
||||
return gIR->dmodule;
|
||||
}
|
||||
// otherwise use the symbol's module
|
||||
|
||||
Reference in New Issue
Block a user