Commit 80ce152
Pattern matching improvements (#355)
* Allows single subpattern in positional pattern clauses
* Accept trailing comma on with_expression
---------
Co-authored-by: Damien Guard <[email protected]>1 parent b27b091 commit 80ce152
File tree
5 files changed
+469340
-461147
lines changed- src
- test/corpus
5 files changed
+469340
-461147
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
1174 | 1175 | | |
1175 | 1176 | | |
1176 | 1177 | | |
1177 | | - | |
| 1178 | + | |
1178 | 1179 | | |
1179 | 1180 | | |
1180 | 1181 | | |
1181 | 1182 | | |
1182 | 1183 | | |
1183 | 1184 | | |
1184 | | - | |
| 1185 | + | |
| 1186 | + | |
1185 | 1187 | | |
1186 | 1188 | | |
1187 | 1189 | | |
| |||
1197 | 1199 | | |
1198 | 1200 | | |
1199 | 1201 | | |
1200 | | - | |
| 1202 | + | |
1201 | 1203 | | |
1202 | 1204 | | |
1203 | 1205 | | |
| |||
1208 | 1210 | | |
1209 | 1211 | | |
1210 | 1212 | | |
1211 | | - | |
1212 | | - | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
1213 | 1220 | | |
1214 | | - | |
| 1221 | + | |
1215 | 1222 | | |
1216 | 1223 | | |
1217 | 1224 | | |
| |||
1720 | 1727 | | |
1721 | 1728 | | |
1722 | 1729 | | |
| 1730 | + | |
1723 | 1731 | | |
1724 | 1732 | | |
1725 | 1733 | | |
| |||
0 commit comments