diff options
author | John Hodge <tpg@mutabah.net> | 2016-05-01 15:41:25 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-05-01 15:41:25 +0800 |
commit | 1cd46925adc7c01823b7cc58756fa5dce55edbf0 (patch) | |
tree | 439d270104c8a32ed6b6a9f6b62bb2b87a41da64 /src/ast/ast.hpp | |
parent | 258f1d3894a8261e2bf3d6528093c152ad53c4b0 (diff) | |
download | mrust-1cd46925adc7c01823b7cc58756fa5dce55edbf0.tar.gz |
Resolve/absolute - Continued work - Traits, impl, and some more nodes
Diffstat (limited to 'src/ast/ast.hpp')
-rw-r--r-- | src/ast/ast.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ast/ast.hpp b/src/ast/ast.hpp index c27beecf..03827d6e 100644 --- a/src/ast/ast.hpp +++ b/src/ast/ast.hpp @@ -616,10 +616,10 @@ public: itemlist_use_t& imports() { return m_imports; }
const itemlist_use_t& imports() const { return m_imports; }
- ::std::vector<Impl>& impls() { return m_impls; }
+ ::std::vector<Impl>& impls() { return m_impls; }
const ::std::vector<Impl>& impls() const { return m_impls; }
- // No need to mutate this list
+ ::std::vector<ImplDef>& neg_impls() { return m_neg_impls; }
const ::std::vector<ImplDef>& neg_impls() const { return m_neg_impls; }
::std::vector<Module*>& anon_mods() { return m_anon_modules; }
|