Jon Ross-Perkins and Richard Smith
bed5fdcbbe
Fix indirect import handling for functions. ( #4258 )
...
The particular test this focused on is indirect_two_file in
toolchain/check/testdata/function/definition/no_prelude/extern_library.carbon.
This removes `parent_scope_id_for_new_inst` because I think it's
returning unhelpful results. The use was at the root of incorrect
results for the indirect import chain. `name_id_for_new_inst` is
actually wrapping a union, so it's more important.
The merging of `is_extern` and `first_owning_decl_id` in
`handle_function.cpp` feels like it's less correct with the changes
that've been made to `extern`. This ripples in tests, because the error
recovery shifts.
---------
Co-authored-by: Richard Smith <richard@metafoo.co.uk >
2024-08-27 20:26:23 +00:00
..
2024-05-21 20:33:20 +00:00
2024-08-27 20:26:23 +00:00
2024-08-02 22:44:51 +00:00
2024-08-02 22:44:51 +00:00
2024-03-19 19:47:29 +00:00
2024-06-05 17:04:17 +00:00
2024-08-23 00:05:26 +00:00
2024-08-23 00:05:26 +00:00
2024-08-12 19:50:15 +00:00
2024-08-13 18:52:24 +00:00
2024-08-13 18:52:24 +00:00
2024-07-25 16:42:01 +00:00
2024-08-19 22:12:21 +00:00
2024-07-25 16:42:01 +00:00
2024-08-27 20:26:23 +00:00
2024-08-02 22:44:51 +00:00
2024-08-02 22:44:51 +00:00
2024-03-28 18:15:18 +00:00
2024-08-06 15:50:27 +00:00
2024-07-25 16:42:01 +00:00
2024-08-12 19:50:15 +00:00
2024-08-09 01:05:03 +00:00
2024-07-03 16:58:47 +00:00
2024-07-03 16:58:47 +00:00
2024-08-13 18:35:10 +00:00
2024-08-13 18:35:10 +00:00
2024-08-19 22:43:07 +00:00
2024-07-03 17:49:47 +00:00
2024-08-27 20:26:23 +00:00
2024-07-12 22:38:06 +00:00
2024-07-19 22:43:50 +00:00
2024-07-12 22:38:06 +00:00
2024-07-12 22:38:06 +00:00
2024-08-27 20:26:23 +00:00
2024-07-12 22:38:06 +00:00
2024-07-19 22:43:50 +00:00
2024-07-12 22:38:06 +00:00
2024-07-12 22:38:06 +00:00
2024-08-27 20:26:23 +00:00
2024-07-12 22:38:06 +00:00
2024-07-12 22:38:06 +00:00
2024-07-31 19:39:45 +00:00
2024-08-19 22:12:21 +00:00
2024-08-15 16:06:02 +00:00
2024-08-19 22:12:21 +00:00
2024-07-19 22:43:50 +00:00
2024-07-12 22:38:06 +00:00
2024-07-12 22:38:06 +00:00
2024-07-12 22:38:06 +00:00
2024-08-19 22:12:21 +00:00
2024-08-15 16:06:02 +00:00
2024-07-12 22:38:06 +00:00
2024-08-27 20:26:23 +00:00
2024-07-12 22:38:06 +00:00
2024-07-12 22:38:06 +00:00
2024-07-12 22:38:06 +00:00
2024-07-23 20:32:24 +00:00
2024-07-12 22:38:06 +00:00
2024-08-19 22:12:21 +00:00
2024-07-12 22:38:06 +00:00
2024-07-12 22:38:06 +00:00
2024-08-12 19:50:15 +00:00
2024-03-07 23:10:14 +00:00
2024-08-22 20:29:35 +00:00
2024-07-19 22:43:50 +00:00
2024-07-24 23:26:00 +00:00
2024-07-24 19:56:17 +00:00
2024-07-17 22:05:19 +00:00
2024-07-17 22:05:19 +00:00
2024-08-13 18:52:24 +00:00
2024-02-28 01:56:27 +00:00
2024-06-06 00:19:56 +00:00
2024-07-03 15:54:04 +00:00
2024-08-15 16:06:02 +00:00
2024-08-15 16:06:02 +00:00
2024-08-27 20:26:23 +00:00
2024-08-27 20:26:23 +00:00
2024-08-19 22:12:21 +00:00
2024-08-19 22:12:21 +00:00
2024-07-23 20:32:24 +00:00
2024-07-23 20:32:24 +00:00
2024-07-17 22:05:19 +00:00
2024-08-19 22:12:21 +00:00
2024-07-25 16:42:01 +00:00
2024-03-19 19:47:29 +00:00
2024-07-17 22:05:19 +00:00
2024-08-13 18:52:24 +00:00
2024-06-04 20:04:45 +00:00
2024-03-18 17:40:00 +00:00
2024-08-12 19:50:15 +00:00
2024-03-09 00:21:29 +00:00
2024-01-25 18:19:22 +00:00
2024-07-25 16:42:01 +00:00
2024-07-25 16:42:01 +00:00
2024-08-23 00:05:26 +00:00
2024-08-23 00:05:26 +00:00
2024-08-22 20:29:35 +00:00
2024-08-09 01:05:03 +00:00