diff options
author | John Hodge <tpg@mutabah.net> | 2016-09-03 16:31:49 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-09-03 16:31:49 +0800 |
commit | 487ef8ce6ba7a1e043fec039062b8099e5708060 (patch) | |
tree | 86e2b4e586fb2adce59718f44551d9496732ff38 /src | |
parent | bc0f5eb833290bcb1eb6c0b71409029119cee9d2 (diff) | |
download | mrust-487ef8ce6ba7a1e043fec039062b8099e5708060.tar.gz |
Resolve - Split enum paths pointing into extern crates
Diffstat (limited to 'src')
-rw-r--r-- | src/resolve/absolute.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resolve/absolute.cpp b/src/resolve/absolute.cpp index bb30befc..4c3ab1b5 100644 --- a/src/resolve/absolute.cpp +++ b/src/resolve/absolute.cpp @@ -802,6 +802,7 @@ namespace { } path.bind( ::AST::PathBinding::make_EnumVar({nullptr, static_cast<unsigned int>(&var - &*e.m_variants.begin()), &e}) ); + path = split_into_crate(sp, mv$(path), start, crate.m_name); return; } } |