diff options
author | John Hodge <tpg@ucc.asn.au> | 2018-02-21 18:50:55 +0800 |
---|---|---|
committer | John Hodge <tpg@ucc.asn.au> | 2018-02-21 18:50:55 +0800 |
commit | d51360132a2c1149c7fbf3b13062a098c4063f42 (patch) | |
tree | 1be21fb1ecb6707e5d366940979d532854182767 /src/expand/mod.cpp | |
parent | 96fa368184bfcf84bf157a756396791eafc050fe (diff) | |
download | mrust-d51360132a2c1149c7fbf3b13062a098c4063f42.tar.gz |
Expand - Run expansion on trait paths in impl blocks (fixes #56)
Diffstat (limited to 'src/expand/mod.cpp')
-rw-r--r-- | src/expand/mod.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expand/mod.cpp b/src/expand/mod.cpp index a88aa3df..d50a51fd 100644 --- a/src/expand/mod.cpp +++ b/src/expand/mod.cpp @@ -890,7 +890,7 @@ void Expand_Impl(::AST::Crate& crate, LList<const AST::Module*> modstack, ::AST: Expand_GenericParams(crate, modstack, mod, impl.def().params()); Expand_Type(crate, modstack, mod, impl.def().type()); - //Expand_Type(crate, modstack, mod, impl.def().trait()); + Expand_Path(crate, modstack, mod, impl.def().trait().ent); DEBUG("> Items"); for( unsigned int idx = 0; idx < impl.items().size(); idx ++ ) |