summaryrefslogtreecommitdiffstats
path: root/elaborate.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'elaborate.cxx')
-rw-r--r--elaborate.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/elaborate.cxx b/elaborate.cxx
index de469a4f..ac4bd0f6 100644
--- a/elaborate.cxx
+++ b/elaborate.cxx
@@ -1593,7 +1593,7 @@ typeresolution_info::visit_arrayindex (arrayindex* e)
e->indexes[0]->visit (this);
if (e->indexes[0]->type != pe_long)
unresolved (e->tok);
- hist->stat->visit (this);
+ hist->visit (this);
return;
}
@@ -1759,7 +1759,7 @@ typeresolution_info::visit_foreach_loop (foreach_loop* e)
e->indexes[0]->visit (this);
if (e->indexes[0]->type != pe_long)
unresolved (e->tok);
- hist->stat->visit (this);
+ hist->visit (this);
}
else
{