From 7bee527fa774c397390618380bdab8bf4dec9cb0 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 5 Apr 2015 13:17:36 +0800 Subject: Replace 'Self' at resolve-time, with special case for bounds --- src/ast/ast.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ast/ast.cpp') diff --git a/src/ast/ast.cpp b/src/ast/ast.cpp index 9aa02fe1..63e33ba6 100644 --- a/src/ast/ast.cpp +++ b/src/ast/ast.cpp @@ -66,11 +66,10 @@ bool ImplDef::matches(::std::vector& out_types, const Path& trait, cons int trait_match = m_trait.equal_no_generic(trait); if( trait_match < 0 ) return false; - DEBUG("Trait " << trait << " matches " << trait_match); int type_match = m_type.equal_no_generic(type); if( type_match < 0 ) return false; - DEBUG("Type " << type << " matches " << type_match); + DEBUG("Match Tr:" < Involves checking that parameters are valid -- cgit v1.2.3