Dana Jansens
db24042fe5
Diagnose overlapping impls in the api/impl files of the same library ( #7164 )
...
An `impl` decl in an impl file can refer only to things defined in the
api file, without the orphan rule rejecting it. If they are in different
scopes (such as one being in a class and one not), then they are treated
as separate `impl` decls. But if they have the same type structure, then
they fully overlap which is an error unless they are in a match_first
block.
This catches the overlap when two `impl` decls are in the same library
but are split between the api and the impl file of the library.
Previously we only diagnosed if they were in the same _file_ but now we
diagnose if they are in the same _library_.
2026-05-06 14:17:54 +00:00
..
2026-04-08 20:09:03 +00:00
2026-05-04 19:11:51 +00:00
2026-05-04 19:11:51 +00:00
2026-02-19 23:33:36 +00:00
2026-04-27 19:04:59 +00:00
2026-02-27 13:50:56 +00:00
2026-02-27 13:50:56 +00:00
2026-05-04 14:45:06 +00:00
2026-02-19 23:33:36 +00:00
2026-02-19 23:33:36 +00:00
2026-05-04 19:11:51 +00:00
2025-12-17 15:46:30 +00:00
2026-02-27 13:50:56 +00:00
2026-04-27 19:04:59 +00:00
2026-03-26 18:43:29 +00:00
2026-04-02 22:54:58 +00:00
2026-02-27 13:50:56 +00:00
2026-02-26 20:10:50 +00:00
2026-02-27 13:50:56 +00:00
2026-03-23 20:38:20 +00:00
2026-04-27 19:04:59 +00:00
2026-02-27 13:50:56 +00:00
2026-04-27 19:04:59 +00:00
2026-05-01 21:22:32 +00:00
2026-02-27 13:50:56 +00:00
2026-02-27 13:50:56 +00:00
2026-05-04 14:45:06 +00:00
2026-04-29 18:13:42 +00:00
2026-05-04 19:11:51 +00:00
2026-05-04 14:45:06 +00:00
2026-04-24 20:51:20 +00:00
2026-04-02 22:54:58 +00:00
2026-05-04 19:11:51 +00:00
2026-05-04 14:45:06 +00:00
2026-03-26 18:43:29 +00:00
2025-06-18 20:45:46 +00:00
2026-05-04 19:11:51 +00:00
2026-05-04 19:11:51 +00:00
2025-06-18 20:45:46 +00:00
2026-05-04 19:11:51 +00:00
2026-02-19 23:33:36 +00:00
2026-05-04 19:11:51 +00:00
2026-05-04 19:11:51 +00:00
2026-05-04 19:11:51 +00:00
2026-02-19 23:33:36 +00:00
2026-05-04 14:45:06 +00:00
2026-05-04 19:11:51 +00:00
2026-04-27 19:04:59 +00:00
2026-05-04 19:11:51 +00:00
2026-05-04 19:11:51 +00:00
2026-05-04 14:45:06 +00:00
2026-05-04 19:11:51 +00:00
2026-03-23 20:38:20 +00:00
2026-03-26 15:26:56 +00:00
2025-06-18 20:45:46 +00:00
2026-05-04 19:11:51 +00:00
2025-12-11 19:44:39 +00:00
2026-05-06 14:17:54 +00:00
2026-05-04 19:11:51 +00:00
2026-04-27 19:04:59 +00:00
2026-04-27 19:04:59 +00:00
2026-02-27 13:50:56 +00:00
2026-05-04 19:11:51 +00:00
2026-03-26 18:43:29 +00:00