summaryrefslogtreecommitdiff
path: root/src/mir/check.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir/check.cpp')
-rw-r--r--src/mir/check.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir/check.cpp b/src/mir/check.cpp
index 3b9f4c64..b033ec51 100644
--- a/src/mir/check.cpp
+++ b/src/mir/check.cpp
@@ -568,7 +568,7 @@ namespace {
this->visit_type( *e.inner );
DEBUG("Array size " << ty);
if( e.size ) {
- MIR_Validate(m_resolve, ::HIR::ItemPath(), *e.size.m_mir, {}, ::HIR::TypeRef(::HIR::CoreType::Usize));
+ MIR_Validate(m_resolve, ::HIR::ItemPath(), *e.size->m_mir, {}, ::HIR::TypeRef(::HIR::CoreType::Usize));
}
)
else {