diff options
author | John Hodge <tpg@mutabah.net> | 2018-12-28 16:58:52 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2018-12-28 16:58:52 +0800 |
commit | e16796df604ba1017a19917ea94840ee8c4b0336 (patch) | |
tree | 5989361e02b98f036612c064229a77d040424942 /src/ast/ast.cpp | |
parent | 83f59c8887adcaa3486cb64c5a78a4660223e234 (diff) | |
download | mrust-e16796df604ba1017a19917ea94840ee8c4b0336.tar.gz |
Resolve - Clean up AST path bindings, one binding per namespace
- This is prep work for supporting `use` of macros
Diffstat (limited to 'src/ast/ast.cpp')
-rw-r--r-- | src/ast/ast.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast/ast.cpp b/src/ast/ast.cpp index e4fe49da..b439553a 100644 --- a/src/ast/ast.cpp +++ b/src/ast/ast.cpp @@ -257,7 +257,7 @@ MacroInvocation MacroInvocation::clone() const UseStmt UseStmt::clone() const { - return UseStmt(sp, path); + return UseStmt(sp, AST::Path(path)); } void ExternBlock::add_item(Named<Item> named_item) |