Richard Smith
d42128ef9a
Parse all kinds of declarations at function scope. ( #4779 )
...
These don't fully work in check and beyond yet, because they're not
added into lexical lookup, but already mostly do the right thing.
Per #3407 , disallow namespace declarations anywhere other than at file
scope for now.
We don't treat statements starting with a packaging introducer keyword
(`package`, `library`, `import`) as declarations because they're
sufficiently unlikely to occur that the error recovery doesn't seem
important, and this avoids needing to disambiguate `package.` at the
start of an expression.
2025-01-10 07:03:10 +00:00
..
2023-09-01 01:35:45 +00:00
2025-01-10 07:03:10 +00:00
2024-12-12 20:51:02 +00:00
2024-12-17 00:58:54 +00:00
2024-12-17 00:58:54 +00:00
2024-10-23 18:16:32 +00:00
2024-12-12 20:51:02 +00:00
2024-12-12 20:51:02 +00:00
2024-12-17 01:25:53 +00:00
2024-06-04 20:04:45 +00:00
2024-09-19 21:32:53 +00:00
2024-09-19 21:32:53 +00:00
2024-09-19 21:32:53 +00:00
2024-11-05 00:40:08 +00:00
2024-11-04 16:06:57 +00:00
2024-07-31 19:39:45 +00:00
2024-09-19 21:32:53 +00:00
2024-09-19 21:32:53 +00:00
2024-07-31 19:39:45 +00:00
2024-11-05 00:40:08 +00:00
2025-01-10 07:03:10 +00:00
2025-01-10 07:03:10 +00:00
2024-09-19 21:32:53 +00:00
2024-11-05 00:40:08 +00:00
2024-11-05 00:40:08 +00:00
2024-12-17 01:25:53 +00:00
2024-07-31 19:39:45 +00:00
2024-07-31 19:39:45 +00:00
2024-11-05 00:40:08 +00:00
2024-06-04 20:04:45 +00:00
2024-11-05 00:40:08 +00:00
2024-09-19 21:32:53 +00:00
2024-07-31 19:39:45 +00:00
2024-06-04 20:04:45 +00:00
2024-10-16 22:46:15 +00:00
2024-09-19 21:32:53 +00:00
2025-01-10 07:03:10 +00:00
2024-06-04 20:04:45 +00:00
2024-09-19 21:32:53 +00:00
2024-06-04 20:04:45 +00:00
2025-01-10 07:03:10 +00:00
2024-05-31 23:11:51 +00:00
2024-11-04 16:06:57 +00:00
2024-09-12 16:42:08 +00:00
2024-11-18 22:28:57 +00:00
2024-11-02 05:53:27 +00:00
2024-01-03 19:44:05 +00:00
2024-08-22 22:32:19 +00:00
2024-09-13 10:03:21 +00:00
2024-09-13 10:03:21 +00:00
2024-01-29 16:15:35 +00:00
2025-01-10 07:03:10 +00:00
2023-11-10 10:43:25 +00:00
2024-12-05 01:29:53 +00:00
2024-09-12 16:42:08 +00:00
2024-07-31 19:39:45 +00:00
2024-12-19 22:01:18 +00:00
2024-12-17 00:58:54 +00:00
2024-12-17 00:58:54 +00:00
2024-12-19 00:31:41 +00:00
2025-01-10 07:03:10 +00:00