diff options
author | John Hodge <tpg@mutabah.net> | 2015-03-21 22:47:48 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2015-03-21 22:47:48 +0800 |
commit | 7944c18843cb82b21973521b6007a3d490e92318 (patch) | |
tree | cb367d897a4b11171f84f7c1c1e099d9f81083c2 /src/ast/path.cpp | |
parent | 5c0e31a6adcb76887e3877de537cfd1c6cf2ffa0 (diff) | |
download | mrust-7944c18843cb82b21973521b6007a3d490e92318.tar.gz |
Planning resolve for local modules
Diffstat (limited to 'src/ast/path.cpp')
-rw-r--r-- | src/ast/path.cpp | 2 |
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"); |