Re: [External] : Re: case null and type pattern

2021-07-20 Thread forax
> From: "Brian Goetz" > To: "Remi Forax" > Cc: "Gavin Bierman" , "Manoj Palat" > , "amber-spec-experts" > > Sent: Lundi 19 Juillet 2021 15:49:22 > Subject: Re: [External] : Re: case null and type pattern > Sur

Re: [External] : Re: case null and type pattern

2021-07-19 Thread Brian Goetz
Sure, but again, I think users would find that restriction even more annoying; the vast majority of guards in languages with guarded patterns use the bindings to refine the match.  I'm not sure users would thank us for moving the restriction in this way. A more interesting flavor of the same