diff options
author | John Hodge <tpg@mutabah.net> | 2016-12-31 11:54:18 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-12-31 11:54:18 +0800 |
commit | ec4bcefef1d071b2a1d1957110f4602621bacb45 (patch) | |
tree | 5b3d0e777f952122cf2b8bbbce660830889925a0 /src | |
parent | f648196c97f76c09f7ad6b9d06bf70dbeed740b5 (diff) | |
download | mrust-ec4bcefef1d071b2a1d1957110f4602621bacb45.tar.gz |
HIR Bind - Apply bind to erased types
Diffstat (limited to 'src')
-rw-r--r-- | src/hir_conv/bind.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hir_conv/bind.cpp b/src/hir_conv/bind.cpp index 4601b90d..7cb4e402 100644 --- a/src/hir_conv/bind.cpp +++ b/src/hir_conv/bind.cpp @@ -515,6 +515,9 @@ namespace { } }; + for(auto& ty : expr.m_erased_types) + visit_type(ty); + if( expr.get() != nullptr ) { ExprVisitor v { *this }; |