Fixed test runnable/arrayop

This commit is contained in:
Alexey Prokhin
2010-12-14 14:38:46 +03:00
parent f8bf67dc6e
commit e48d0f6b79
2 changed files with 22 additions and 6 deletions

View File

@@ -353,10 +353,10 @@ Expression *BinExp::arrayOp(Scope *sc)
fd = new FuncDeclaration(0, 0, Lexer::idPool(name), STCundefined, ftype);
fd->fbody = fbody;
fd->protection = PROTpublic;
fd->linkage = LINKd;
fd->linkage = LINKd;
// special attention for array ops
fd->isArrayOp = true;
// special attention for array ops
fd->isArrayOp = true;
sc->module->importedFrom->members->push(fd);