On Mar 10, 2021, at 11:29 AM, Guy Steele <guy.ste...@oracle.com> wrote: > > Let me suggest this alternative: > > Pattern: > : ConditionalOrPattern > : ConditionalAndPattern `&&` Guard
Clever. Too bad we can’t do this for expressions too. >> Guard: >> : AssignmentExpression > > Yes, “AssignmentExpression” is the right thing here. Please see my previous objection: I think the looseness of AssignmentExpression leads to even worse puzzlers than the ones you are addressing above.