summaryrefslogtreecommitdiff
path: root/src/hir/from_ast_expr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hir/from_ast_expr.cpp')
-rw-r--r--src/hir/from_ast_expr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hir/from_ast_expr.cpp b/src/hir/from_ast_expr.cpp
index d9982da9..f5e9b31a 100644
--- a/src/hir/from_ast_expr.cpp
+++ b/src/hir/from_ast_expr.cpp
@@ -237,7 +237,7 @@ struct LowerHIR_ExprNode_Visitor:
// TODO: Should this be abstracted?
::HIR::PathParams params;
- for(const auto& param : v.m_method.args())
+ for(const auto& param : v.m_method.args().m_types)
params.m_types.push_back( LowerHIR_Type(param) );
m_rv.reset( new ::HIR::ExprNode_CallMethod(