summaryrefslogtreecommitdiff
path: root/src/hir
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-07-15 13:22:16 +0800
committerJohn Hodge <tpg@mutabah.net>2016-07-15 13:22:16 +0800
commit58b4bea03a1a4e1631da94ff76619e4de0a531cb (patch)
treeb5ed1671cfd27cff7440fd969fa5b706255896ad /src/hir
parent5a909771e992c63448e848908be5ad1da71ac62f (diff)
downloadmrust-58b4bea03a1a4e1631da94ff76619e4de0a531cb.tar.gz
HIR Typecheck - Expand associated types in outer typeck
Diffstat (limited to 'src/hir')
-rw-r--r--src/hir/from_ast.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hir/from_ast.cpp b/src/hir/from_ast.cpp
index 878e7d4c..46d2a19f 100644
--- a/src/hir/from_ast.cpp
+++ b/src/hir/from_ast.cpp
@@ -802,6 +802,7 @@ namespace {
}
::HIR::Function LowerHIR_Function(const ::AST::Function& f)
{
+ DEBUG("");
::std::vector< ::std::pair< ::HIR::Pattern, ::HIR::TypeRef > > args;
for(const auto& arg : f.args())
args.push_back( ::std::make_pair( LowerHIR_Pattern(arg.first), LowerHIR_Type(arg.second) ) );