On Sat, Oct 31, 2009 at 07:07:41PM +0200, Jim Andreou wrote:
> So what's up here? Isn't (x: String) a valid pattern, indicating that
> x must be of type String? It would really be nice if patterns worked
> the same in all cases, and I understand that this was the intention,
> so is this a bug?
When you ask yourself that you might also try asking mr. trac:
https://lampsvn.epfl.ch/trac/scala/ticket/900...along with several closed duplicates.
--
Paul Phillips | A national political campaign is better than the
Stickler | best circus ever heard of, with a mass baptism and
Empiricist | a couple of hangings thrown in.
pp: i haul pills | -- H. L. Mencken