diff options
author | John Hodge <tpg@mutabah.net> | 2016-05-29 08:50:39 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-05-29 08:50:39 +0800 |
commit | a8d2de3db9d9f92013d0ac6e52319b55590efea4 (patch) | |
tree | 1f85c37a21df5379518f2567a34eb3f174cb790f /src/hir/from_ast_expr.cpp | |
parent | 727e254fe58274741036ca31f4c3eae2f3e1695a (diff) | |
download | mrust-a8d2de3db9d9f92013d0ac6e52319b55590efea4.tar.gz |
AST - Remove dead code, add lifetime params, fix param clobber
Diffstat (limited to 'src/hir/from_ast_expr.cpp')
-rw-r--r-- | src/hir/from_ast_expr.cpp | 2 |
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( |