OLD | NEW |
(Empty) | |
| 1 |x: int, y: int| -> int {} |
| 2 || {} |
| 3 |
| 4 ---------------------------------------------------- |
| 5 |
| 6 [ |
| 7 ["closure-params", [ |
| 8 ["punctuation", "|"], |
| 9 "x", |
| 10 ["punctuation", ":"], |
| 11 " int", |
| 12 ["punctuation", ","], |
| 13 " y", |
| 14 ["punctuation", ":"], |
| 15 " int", |
| 16 ["punctuation", "|"] |
| 17 ]], |
| 18 ["punctuation", "->"], |
| 19 " int ", ["punctuation", "{"], ["punctuation", "}"], |
| 20 |
| 21 ["closure-params", [ |
| 22 ["punctuation", "|"], |
| 23 ["punctuation", "|"] |
| 24 ]], |
| 25 ["punctuation", "{"], ["punctuation", "}"] |
| 26 ] |
| 27 |
| 28 ---------------------------------------------------- |
| 29 |
| 30 Checks for closure params. |
OLD | NEW |