diff options
Diffstat (limited to 'gcc/d/dmd/sapply.d')
-rw-r--r-- | gcc/d/dmd/sapply.d | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/d/dmd/sapply.d b/gcc/d/dmd/sapply.d index 26fba8f..adfae32 100644 --- a/gcc/d/dmd/sapply.d +++ b/gcc/d/dmd/sapply.d @@ -68,7 +68,7 @@ public: override void visit(CompoundStatement s) { - for (size_t i = 0; i < s.statements.dim; i++) + for (size_t i = 0; i < s.statements.length; i++) if (doCond((*s.statements)[i])) return; applyTo(s); @@ -76,7 +76,7 @@ public: override void visit(UnrolledLoopStatement s) { - for (size_t i = 0; i < s.statements.dim; i++) + for (size_t i = 0; i < s.statements.length; i++) if (doCond((*s.statements)[i])) return; applyTo(s); @@ -151,7 +151,7 @@ public: { if (doCond(s._body)) return; - for (size_t i = 0; i < s.catches.dim; i++) + for (size_t i = 0; i < s.catches.length; i++) if (doCond((*s.catches)[i].handler)) return; applyTo(s); |