Paul Berry
5fedeeb0d6
Front end: fix "why not promoted" messages for field promotion and mixins.
...
The front end handles mixin applications by synthesizing new fields
and procedures in the mixin application class to reflect the fields
and procedures from the mixin.
In order to ensure that the appropriate "why not promoted" context
messages are created for these synthesized fields and procedures,
entries need to be created for them in the
`FieldNonPromotabilityInfo.individualPropertyReasons` map.
Note that the source locations for these synthesized fields correspond
to the declaration of the mixin application rather than the original
field or procedure; to find the original field or procedure we use
`Procedure.stubTarget`.
Change-Id: Ib20d2514cb5aad8f95b93d26ad0e3917f1613db3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/330246
Reviewed-by: Johnni Winther <johnniwinther@google.com >
Reviewed-by: Bob Nystrom <rnystrom@google.com >
Commit-Queue: Paul Berry <paulberry@google.com >
2023-10-13 17:17:49 +00:00
..
2023-04-20 20:50:39 +00:00
2022-10-11 17:56:11 +00:00
2023-01-05 00:23:40 +00:00
2023-05-19 16:27:58 +00:00
2023-06-15 09:47:02 +00:00
2023-06-15 08:26:27 +00:00
2022-10-10 21:04:18 +00:00
2022-09-07 14:49:17 +00:00
2023-03-17 16:17:50 +00:00
2022-12-19 16:30:06 +00:00
2022-10-17 08:18:49 +00:00
2023-04-22 00:38:28 +00:00
2023-06-16 16:31:27 +00:00
2023-03-08 15:42:26 +00:00
2023-08-22 18:21:10 +00:00
2023-08-29 19:02:38 +00:00
2023-10-03 10:51:15 +00:00
2023-06-15 08:26:27 +00:00
2023-09-26 10:07:42 +00:00
2022-01-06 17:06:47 +00:00
2023-08-02 12:02:38 +00:00
2023-03-17 16:17:50 +00:00
2023-03-17 16:17:50 +00:00
2023-01-10 13:37:33 +00:00
2023-03-02 20:40:20 +00:00
2023-04-20 20:49:17 +00:00
2023-04-20 20:49:17 +00:00
2022-06-10 15:48:54 +00:00
2023-10-12 12:17:18 +00:00
2023-09-18 06:44:08 +00:00
2023-04-20 20:49:17 +00:00
2023-07-25 19:23:02 +00:00
2022-12-19 16:30:06 +00:00
2023-01-23 12:55:22 +00:00
2022-09-07 14:49:17 +00:00
2023-04-19 22:09:18 +00:00
2023-04-03 19:39:59 +00:00
2023-04-19 22:09:18 +00:00
2023-05-09 06:56:44 +00:00
2022-05-29 19:03:15 +00:00
2023-06-15 08:26:27 +00:00
2023-04-19 22:09:18 +00:00
2023-04-19 22:09:18 +00:00
2022-12-15 13:18:50 +00:00
2023-10-13 17:17:49 +00:00
2023-04-19 22:09:18 +00:00
2021-08-25 09:51:54 +00:00
2021-09-15 06:22:23 +00:00
2023-04-22 00:38:28 +00:00
2023-05-26 18:22:34 +00:00
2021-08-30 11:56:30 +00:00
2023-01-19 16:24:29 +00:00
2022-12-19 16:30:06 +00:00
2023-10-03 10:51:15 +00:00
2023-05-24 09:21:20 +00:00
2023-04-20 17:51:42 +00:00
2023-04-20 17:51:42 +00:00
2023-06-20 23:44:08 +00:00
2023-08-29 22:36:02 +00:00
2023-09-22 16:13:10 +00:00
2023-04-20 17:51:42 +00:00
2023-03-01 15:03:39 +00:00
2023-04-20 17:51:42 +00:00
2023-04-20 17:51:42 +00:00
2023-07-25 19:23:02 +00:00
2021-08-25 09:51:54 +00:00
2023-07-19 17:31:18 +00:00
2023-04-20 17:56:18 +00:00
2023-05-05 20:02:28 +00:00
2022-09-07 14:49:17 +00:00
2023-03-02 20:40:20 +00:00
2022-08-22 16:50:19 +00:00
2023-10-03 10:51:15 +00:00
2023-04-20 17:56:18 +00:00
2023-04-20 17:56:18 +00:00
2023-04-20 17:56:18 +00:00
2022-11-08 14:54:17 +00:00
2023-10-03 10:51:15 +00:00
2021-08-25 09:51:54 +00:00
2023-03-01 20:11:25 +00:00
2023-06-15 08:26:27 +00:00
2022-09-07 14:49:17 +00:00
2023-09-18 23:11:22 +00:00
2023-04-19 23:35:16 +00:00
2022-12-14 23:34:18 +00:00
2023-04-20 17:59:44 +00:00
2023-06-16 16:31:27 +00:00
2023-04-20 17:59:44 +00:00
2023-04-20 17:59:44 +00:00
2023-09-22 16:13:10 +00:00
2023-08-11 09:08:32 +00:00
2023-04-20 17:59:44 +00:00
2023-03-01 15:03:39 +00:00
2023-06-15 08:26:27 +00:00
2023-04-14 22:04:28 +00:00
2023-06-15 08:26:27 +00:00
2022-09-07 14:49:17 +00:00
2023-04-20 19:55:31 +00:00
2023-08-22 18:21:10 +00:00
2023-10-12 15:29:26 +00:00
2023-04-20 19:55:31 +00:00
2023-04-20 19:55:31 +00:00
2023-06-15 09:47:02 +00:00
2023-10-03 10:51:15 +00:00
2022-11-17 11:32:01 +00:00
2023-05-19 19:48:38 +00:00
2023-04-20 22:33:22 +00:00
2023-09-27 21:31:49 +00:00
2021-11-11 14:04:43 +00:00
2022-11-03 17:06:42 +00:00
2023-10-12 15:29:26 +00:00
2023-09-27 21:31:49 +00:00
2023-09-27 21:31:49 +00:00
2023-04-25 21:28:39 +00:00
2023-10-09 19:30:29 +00:00
2022-12-19 16:30:06 +00:00
2023-10-09 19:30:29 +00:00
2023-05-19 19:48:38 +00:00
2023-06-15 08:26:27 +00:00
2023-06-15 08:26:27 +00:00
2023-06-15 08:26:27 +00:00
2023-06-15 08:26:27 +00:00
2023-06-15 08:26:27 +00:00
2021-07-23 08:41:09 +00:00
2023-03-02 20:04:19 +00:00
2023-03-02 20:04:19 +00:00
2023-03-02 20:04:19 +00:00
2021-05-18 14:06:13 +00:00