diff options
Diffstat (limited to 'src/resolve/absolute.cpp')
-rw-r--r-- | src/resolve/absolute.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resolve/absolute.cpp b/src/resolve/absolute.cpp index 2985419a..da27261f 100644 --- a/src/resolve/absolute.cpp +++ b/src/resolve/absolute.cpp @@ -595,6 +595,7 @@ void Resolve_Absolute_Expr(Context& context, ::AST::ExprNode& node) if(arm.m_cond) arm.m_cond->visit( *this ); + assert( arm.m_code ); arm.m_code->visit( *this ); this->context.pop_block(); @@ -710,7 +711,7 @@ void Resolve_Absolute_PatternValue(/*const*/ Context& context, ::AST::Pattern::V (Integer, ), (String, ), (Named, - assert( ! e.is_trivial() ); + //assert( ! e.is_trivial() ); Resolve_Absolute_Path(context, Span(), Context::LookupMode::Constant, e); ) ) |