diff options
author | John Hodge <tpg@mutabah.net> | 2015-09-20 13:40:54 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2015-09-20 13:40:54 +0800 |
commit | 3663599d6d0748c3d79ac91dcc89982faaa820ed (patch) | |
tree | 5c21f3443f1101b581807e37b3c4ad1d6a85b153 /src/ast | |
parent | 8b22df5f2a6e1f37cf1964f82d369c8363e8016b (diff) | |
download | mrust-3663599d6d0748c3d79ac91dcc89982faaa820ed.tar.gz |
Do two passes of resolve to handle UFCS resolve problems
Diffstat (limited to 'src/ast')
-rw-r--r-- | src/ast/ast.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ast/ast.cpp b/src/ast/ast.cpp index 2fe36225..aa8a17e0 100644 --- a/src/ast/ast.cpp +++ b/src/ast/ast.cpp @@ -295,6 +295,7 @@ bool Crate::check_impls_wildcard(const Path& trait, const TypeRef& type) const for( auto implptr : m_impl_index )
{
Impl& impl = *implptr;
+ DEBUG("- " << impl.def());
::std::vector<TypeRef> out_params;
if( impl.def().matches(out_params, AST::Path(), type) )
{
|