| 1 | module MatchBlankField; |
| 2 | (* An arm names a field, it doesn't blank it: the help gives the name to use *) |
| 3 | type Arg = variant int(i: INT); real(r: F64; places: INT); end; |
| 4 | |
| 5 | proc f(a: Arg); |
| 6 | begin |
| 7 | match a of |
| 8 | | int(i): return; |
| 9 | | real(r, _): return; |
| 10 | end; |
| 11 | end; |
| 12 | |
| 13 | begin |
| 14 | end MatchBlankField. |