Commit 6cc42e6
authored
Fix type inference for fields with intermediate pipe filters (#103)
Add word boundaries to all context patterns to prevent substring
matches (e.g. preparedStatements matching preparedStatementsLimit).
Broaden the quote pattern to allow intermediate filters like
\`| default "foo" | quote\`.1 parent ca49a78 commit 6cc42e6
2 files changed
Lines changed: 19 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
| 43 | + | |
| 44 | + | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
650 | 650 | | |
651 | 651 | | |
652 | 652 | | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
653 | 661 | | |
654 | 662 | | |
655 | 663 | | |
| |||
901 | 909 | | |
902 | 910 | | |
903 | 911 | | |
904 | | - | |
905 | | - | |
| 912 | + | |
906 | 913 | | |
907 | 914 | | |
908 | 915 | | |
| |||
1168 | 1175 | | |
1169 | 1176 | | |
1170 | 1177 | | |
1171 | | - | |
1172 | | - | |
1173 | | - | |
1174 | | - | |
1175 | | - | |
1176 | | - | |
1177 | | - | |
1178 | | - | |
1179 | 1178 | | |
1180 | 1179 | | |
1181 | 1180 | | |
| |||
1491 | 1490 | | |
1492 | 1491 | | |
1493 | 1492 | | |
1494 | | - | |
1495 | | - | |
| 1493 | + | |
1496 | 1494 | | |
1497 | 1495 | | |
1498 | 1496 | | |
| |||
0 commit comments