Richard Smith
3884d3c27e
Parse and check support for compound member access. ( #3790 )
...
On the parsing side, we treat `a.(b)` as a member access whose second
operand is a `ParenExpr` rather than a `MemberName`. A new node category
is added for the union of `MemberName` and `ParenExpr` to support this.
Checking is mostly reusing the same pieces we already have for simple
member access. Compound member access is in most ways a simplified form
of simple member access because it doesn't need to do any lookup.
2024-03-16 22:38:23 +00:00
..
2023-09-01 01:35:45 +00:00
2024-03-16 22:38:23 +00:00
2024-03-13 22:58:56 +00:00
2024-03-09 00:21:29 +00:00
2024-03-09 00:21:29 +00:00
2024-01-04 18:09:52 +00:00
2024-02-14 18:33:18 +00:00
2023-12-08 23:58:30 +00:00
2023-12-04 22:45:59 +00:00
2024-02-21 22:09:40 +00:00
2023-12-22 22:14:11 +00:00
2023-12-08 23:58:30 +00:00
2024-01-23 18:22:27 +00:00
2023-09-01 01:35:45 +00:00
2023-12-09 04:04:00 +00:00
2023-12-08 23:58:30 +00:00
2024-02-14 18:33:18 +00:00
2024-03-04 16:27:31 +00:00
2023-12-08 23:58:30 +00:00
2024-02-02 04:25:50 +00:00
2024-03-14 22:03:30 +00:00
2023-12-08 23:58:30 +00:00
2024-03-04 21:23:06 +00:00
2024-02-13 00:27:06 +00:00
2023-12-08 23:58:30 +00:00
2024-02-13 00:27:06 +00:00
2023-12-08 23:58:30 +00:00
2024-03-09 00:21:29 +00:00
2023-12-08 23:35:47 +00:00
2024-03-16 22:38:23 +00:00
2024-02-14 18:33:18 +00:00
2023-12-09 04:04:00 +00:00
2024-02-21 22:03:32 +00:00
2024-03-16 22:38:23 +00:00
2023-12-28 22:29:30 +00:00
2024-03-08 16:01:12 +00:00
2024-03-16 22:38:23 +00:00
2024-02-14 18:26:56 +00:00
2024-01-29 16:15:35 +00:00
2024-01-03 19:44:05 +00:00
2023-09-18 22:05:14 +00:00
2023-12-09 04:04:00 +00:00
2023-12-09 04:04:00 +00:00
2024-01-29 16:15:35 +00:00
2024-03-16 22:38:23 +00:00
2023-11-10 10:43:25 +00:00
2024-01-05 23:01:47 +00:00
2024-02-14 18:26:56 +00:00
2024-01-29 16:15:35 +00:00
2024-03-14 22:03:30 +00:00
2024-02-21 22:03:32 +00:00
2024-03-16 22:38:23 +00:00