Commit 64b745a
committed
[SwiftParser] Parse operator function with value generics
Operator function parsing has a heuristics to determine if '<' a part of
the operator name or the generic parameter clause. Handle `let` there
because value generics uses it.
rdar://149556573
(cherry picked from commit e7eb0b9)1 parent 5ce35b8 commit 64b745a
File tree
2 files changed
+12
-1
lines changed- Sources/SwiftParser
- Tests/SwiftParserTest
2 files changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1215 | 1215 | | |
1216 | 1216 | | |
1217 | 1217 | | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
1218 | 1221 | | |
1219 | | - | |
| 1222 | + | |
1220 | 1223 | | |
1221 | 1224 | | |
1222 | 1225 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
290 | 298 | | |
0 commit comments