diff options
author | John Hodge <tpg@mutabah.net> | 2015-09-05 12:14:50 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2015-09-05 12:14:50 +0800 |
commit | 0b6d7c51056ed7b8eb25af6041c4feb5e6e23051 (patch) | |
tree | 33b4f6587a43fb5dae9907db6e94c19880300a73 /src/ast/path.hpp | |
parent | db10e8219fefb01415b3a79e973844401d97c1ee (diff) | |
download | mrust-0b6d7c51056ed7b8eb25af6041c4feb5e6e23051.tar.gz |
Resolve - Work resolving UFCS traits
Diffstat (limited to 'src/ast/path.hpp')
-rw-r--r-- | src/ast/path.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ast/path.hpp b/src/ast/path.hpp index 04de1aeb..0fa4ff04 100644 --- a/src/ast/path.hpp +++ b/src/ast/path.hpp @@ -276,6 +276,7 @@ public: bool is_concrete() const; + bool is_bound() const { return !m_binding.is_Unbound(); } const PathBinding& binding() const { return m_binding; } void bind_variable(unsigned int slot); |