diff options
author | John Hodge <tpg@mutabah.net> | 2016-09-03 16:20:09 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-09-03 16:20:09 +0800 |
commit | bc0f5eb833290bcb1eb6c0b71409029119cee9d2 (patch) | |
tree | df92e8484cbd7eaf0f27dc02b807b8b84ac6853c | |
parent | dbf5ab5257fa4535585fb41794b6a86a5c74d637 (diff) | |
download | mrust-bc0f5eb833290bcb1eb6c0b71409029119cee9d2.tar.gz |
HIR Bind - HACK: Run over extern crates too
-rw-r--r-- | src/hir_conv/bind.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/hir_conv/bind.cpp b/src/hir_conv/bind.cpp index e296cead..8d356338 100644 --- a/src/hir_conv/bind.cpp +++ b/src/hir_conv/bind.cpp @@ -450,4 +450,9 @@ void ConvertHIR_Bind(::HIR::Crate& crate) { Visitor exp { crate }; exp.visit_crate( crate ); + + for(auto& ec : crate.m_ext_crates) + { + exp.visit_crate( *ec.second ); + } } |