diff options
author | John Hodge <tpg@ucc.asn.au> | 2017-10-28 22:30:57 +0800 |
---|---|---|
committer | John Hodge <tpg@ucc.asn.au> | 2017-10-28 22:30:57 +0800 |
commit | 2f62e331a2fc59ef8c94b840c75b6f549d01bbd7 (patch) | |
tree | 03cbd2192c2bfde4ad285bfcf5d5f8a119b09b1e /src/expand/mod.cpp | |
parent | 2ad506b0f4639f5f00909ed92cba7873aaf0951b (diff) | |
download | mrust-2f62e331a2fc59ef8c94b840c75b6f549d01bbd7.tar.gz |
Expand - Recurse when expanding in patterns
Diffstat (limited to 'src/expand/mod.cpp')
-rw-r--r-- | src/expand/mod.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/expand/mod.cpp b/src/expand/mod.cpp index 959cef86..9c9693cf 100644 --- a/src/expand/mod.cpp +++ b/src/expand/mod.cpp @@ -173,6 +173,7 @@ void Expand_Pattern(::AST::Crate& crate, LList<const AST::Module*> modstack, ::A } pat = mv$(newpat); + Expand_Pattern(crate, modstack, mod, pat, is_refutable); ), (Any, ), |