You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[patterns] Change if-case statement syntax to a more infix-like form. (#2191)
Instead of:
if (case [int x, int y] = json) return Point(x, y);
The proposed syntax is now:
if (json case [int x, int y]) return Point(x, y);
This does *not* define an infix case *expression*. But it is more
forward-compatible with that syntax if we decide to do that later.
See #2181.
0 commit comments