Andrew Kelley
4bb5d17edc
AstGen: pre-scan all decls in a namespace
...
Also:
* improve the "ambiguous reference" error by swapping the order of
"declared here" and "also declared here" notes.
* improve the "not accessible from inner function" error:
- point out that it has to do with the thing being mutable
- eliminate the incorrect association with it being a function
- note where it crosses a namespace boundary
* struct field types are evaluated in a context that has the struct
namespace visible. Likewise with align expressions, linksection
expressions, enum tag values, and union/enum tag argument
expressions.
Closes #9194
Closes #9622
2021-08-28 16:04:38 -07:00
..
2021-08-19 01:20:50 -04:00
2021-04-29 15:54:04 -07:00
2021-04-29 15:54:04 -07:00
2021-04-29 15:54:04 -07:00
2021-04-29 15:54:04 -07:00
2021-06-21 17:03:03 -07:00
2021-05-08 14:45:21 -07:00
2021-08-20 15:41:57 -07:00
2021-08-20 15:41:57 -07:00
2021-05-08 14:45:21 -07:00
2021-06-21 17:03:03 -07:00
2021-08-08 09:21:30 -07:00
2021-06-21 17:03:03 -07:00
2021-08-05 16:37:21 -07:00
2021-06-21 17:03:03 -07:00
2021-06-14 00:16:40 +03:00
2021-05-08 14:45:21 -07:00
2021-08-01 12:36:04 -07:00
2021-06-05 22:08:36 -04:00
2021-05-08 14:45:21 -07:00
2021-05-08 14:45:21 -07:00
2021-08-12 10:48:54 -07:00
2021-08-12 10:48:54 -07:00
2021-05-08 14:45:21 -07:00
2021-05-08 14:45:21 -07:00
2021-06-10 08:33:42 +03:00
2021-08-23 15:30:57 -07:00
2021-08-24 22:35:37 -07:00
2021-08-21 20:47:42 -07:00
2021-08-21 20:47:42 -07:00
2021-05-08 14:45:21 -07:00
2021-05-08 14:45:21 -07:00
2021-05-08 14:45:21 -07:00
2021-05-08 14:45:21 -07:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-08-21 20:47:42 -07:00
2021-08-28 16:04:38 -07:00
2021-05-08 14:45:21 -07:00
2021-05-08 14:45:21 -07:00
2021-08-07 20:34:28 -07:00
2021-08-07 20:34:28 -07:00
2021-06-21 17:03:03 -07:00
2021-05-08 14:45:21 -07:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-07-25 22:43:52 -04:00
2021-07-26 20:41:00 -04:00
2021-04-29 15:54:04 -07:00
2021-08-28 16:04:38 -07:00
2021-05-08 14:45:21 -07:00
2021-05-08 14:45:21 -07:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-08-07 15:46:53 -07:00
2021-08-07 15:46:53 -07:00
2021-07-25 20:35:55 -04:00
2021-05-08 14:45:21 -07:00
2021-05-08 14:45:21 -07:00
2021-05-08 14:45:21 -07:00
2021-06-21 17:03:03 -07:00
2021-07-26 20:05:48 -04:00
2021-06-09 23:54:23 -04:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-05-08 14:45:21 -07:00
2021-05-08 14:45:21 -07:00
2021-05-08 14:45:21 -07:00
2021-08-24 22:35:37 -07:00
2021-05-08 14:45:21 -07:00
2021-05-08 14:45:21 -07:00
2021-06-21 17:03:03 -07:00
2021-07-08 14:33:01 -04:00
2021-05-08 14:45:21 -07:00
2021-08-06 09:10:50 +03:00
2021-08-06 09:10:50 +03:00
2021-07-06 12:42:18 +03:00
2021-05-08 14:45:21 -07:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:04 -07:00
2021-07-28 18:17:11 -04:00
2021-05-08 14:45:21 -07:00
2021-06-21 17:03:03 -07:00
2021-06-27 12:26:29 +03:00
2021-05-08 14:45:21 -07:00
2021-06-21 17:03:03 -07:00
2021-06-23 09:52:09 -07:00
2021-06-21 17:03:03 -07:00
2021-05-08 14:45:21 -07:00
2021-06-21 17:03:03 -07:00
2021-08-01 23:27:38 -07:00