diff options
author | John Hodge <tpg@mutabah.net> | 2016-11-18 12:07:13 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-11-18 12:07:13 +0800 |
commit | f869ebb5ee56bb63b8e67c9f1ce1b9c45f70a305 (patch) | |
tree | 67391b72b8600990bc48ba817ee76b3c1b06faeb | |
parent | dc24f382036ba3456510817899cd7ed0cac0a191 (diff) | |
download | mrust-f869ebb5ee56bb63b8e67c9f1ce1b9c45f70a305.tar.gz |
HIR Expand Closures - Fix types in args/return types
-rw-r--r-- | src/hir_expand/closures.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hir_expand/closures.cpp b/src/hir_expand/closures.cpp index f5fb2366..ccd293af 100644 --- a/src/hir_expand/closures.cpp +++ b/src/hir_expand/closures.cpp @@ -630,6 +630,10 @@ namespace { DEBUG("-- Fixing types in body code"); ExprVisitor_Fixup fixup { m_resolve.m_crate, monomorph_cb }; fixup.visit_root( body_code ); + + DEBUG("-- Fixing types in signature"); + fixup.visit_type( args_ty ); + fixup.visit_type( ret_type ); } // --- |