summaryrefslogtreecommitdiff
path: root/src/ast/path.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/path.hpp')
-rw-r--r--src/ast/path.hpp1
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);