--- Comment #6 from Stewart Gordon <> 2012-02-01 04:16:53 PST ---
(In reply to comment #5)
> As Walter said, so that T:int would be considered a better match.  It is a 
> hack
> in the compiler that I'm not particularly fond of.

What has a "better match" to do with anything?  (int) matches the pattern (T)
perfectly - no conversion, implicit or explicit.  True, (T: int) is a more
specialised match, but that doesn't magically render the match with (T)

> See issue 4953 for another case it causes problems.

That's different - 5 is an int, so it doesn't exactly match the pattern (short

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to