comparison dmd/expression/Util.d @ 98:5c859d5fbe27

and more
author Trass3r
date Tue, 31 Aug 2010 03:53:49 +0200
parents be2ab491772e
children ceda59b4d255
comparison
equal deleted inserted replaced
96:acd69f84627e 98:5c859d5fbe27
194 if (f != m.lastf) // skip duplicates 194 if (f != m.lastf) // skip duplicates
195 { 195 {
196 m.anyf = f; 196 m.anyf = f;
197 TypeFunction tf = cast(TypeFunction)f.type; 197 TypeFunction tf = cast(TypeFunction)f.type;
198 match = tf.callMatch(f.needThis() ? ethis : null, arguments); 198 match = tf.callMatch(f.needThis() ? ethis : null, arguments);
199 //printf("match = %d\n", match); 199 //printf("test: match = %d\n", match);
200 if (match != MATCH.MATCHnomatch) 200 if (match != MATCH.MATCHnomatch)
201 { 201 {
202 if (match > m.last) 202 if (match > m.last)
203 goto LfIsBetter; 203 goto LfIsBetter;
204 204