summaryrefslogtreecommitdiff
path: root/src/ast/path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/path.cpp')
-rw-r--r--src/ast/path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast/path.cpp b/src/ast/path.cpp
index 25015ab7..1f07d4b0 100644
--- a/src/ast/path.cpp
+++ b/src/ast/path.cpp
@@ -159,7 +159,7 @@ void Path::resolve(const Crate& root_crate)
else if( is_sec_last ) {
m_binding_type = TRAIT_METHOD;
m_binding.trait_ = &it->data;
- throw ParseError::Todo("Path::resolve() trait method");
+ goto ret;
}
else {
throw ParseError::Generic("Import of trait, too many extra nodes");