Juan Chen
d163853c97
[FIR] add support for implementation by delgation
...
This commit handles "subclass: super-interface by delegate-expression".
During Psi2Fir, for each delegate, we add to the subclass a synthetic
field (which has type super-interface), and an assignment of the
delegate-expression to the synthetic field in the primary constructor,
so that the delegate-expression can be resolved and transformed along
the way.
During Fir2Ir, we look up delegatable members from the super-interface
and generate corresponding functions/properties for the subclass.
TODO: support for generic delegatable members and generic
super-interface.
2020-07-08 09:42:24 +03:00
..
2019-04-05 16:18:58 +03:00
2019-11-29 13:53:05 +03:00
2020-05-26 14:08:47 +03:00
2019-11-29 13:53:05 +03:00
2020-05-01 13:14:21 +03:00
2020-05-01 13:14:20 +03:00
2020-04-09 15:22:56 +03:00
2019-11-29 13:53:05 +03:00
2020-03-18 17:09:35 +03:00
2019-11-29 13:53:05 +03:00
2019-04-05 16:18:58 +03:00
2019-11-29 13:53:05 +03:00
2020-04-30 13:09:53 +03:00
2019-11-29 13:53:05 +03:00
2020-05-28 22:19:21 +03:00
2019-11-29 13:53:05 +03:00
2020-04-30 13:09:53 +03:00
2019-11-29 13:53:05 +03:00
2020-07-08 09:42:24 +03:00
2019-12-12 15:02:32 +03:00
2020-01-27 15:28:27 +03:00
2020-07-08 09:42:24 +03:00
2020-02-18 10:50:03 +03:00
2020-01-27 15:28:27 +03:00
2020-07-08 09:42:24 +03:00
2020-01-27 15:28:27 +03:00
2020-04-17 12:37:29 +03:00
2019-11-29 13:53:05 +03:00
2020-06-29 16:07:30 +03:00
2019-11-29 13:53:05 +03:00
2020-06-29 16:07:48 +03:00
2020-02-18 10:50:03 +03:00
2020-02-14 18:22:17 +03:00
2020-06-29 16:07:48 +03:00
2020-02-18 10:50:03 +03:00
2020-02-14 18:22:17 +03:00
2020-06-29 16:07:48 +03:00
2020-02-18 10:50:03 +03:00
2020-02-14 18:22:17 +03:00
2020-06-29 16:07:48 +03:00
2020-02-18 10:50:03 +03:00
2020-02-14 18:22:17 +03:00
2020-06-26 16:52:10 +03:00
2020-02-13 11:35:48 +03:00
2020-02-13 11:35:48 +03:00
2020-07-08 09:42:24 +03:00
2019-12-30 18:36:16 +03:00
2020-06-22 22:06:01 +03:00
2020-04-13 20:26:19 +03:00
2019-11-29 13:53:05 +03:00
2019-12-20 13:03:39 +03:00
2019-12-20 13:03:39 +03:00
2020-03-05 16:48:48 +03:00
2019-12-20 15:12:37 +03:00
2019-12-20 13:03:39 +03:00
2020-03-18 17:09:36 +03:00
2019-11-29 13:53:05 +03:00
2020-04-30 13:09:53 +03:00
2018-08-14 10:00:21 +03:00
2019-11-29 13:53:05 +03:00
2020-05-28 22:19:21 +03:00
2020-02-14 18:22:16 +03:00
2020-02-14 18:22:16 +03:00
2020-05-12 16:57:07 +03:00
2019-11-29 13:53:05 +03:00
2020-05-12 16:57:07 +03:00
2019-11-29 13:53:05 +03:00
2020-04-30 13:09:53 +03:00
2020-03-06 14:55:40 +03:00
2020-03-06 14:55:40 +03:00
2020-04-30 13:09:53 +03:00
2020-02-18 10:50:03 +03:00
2019-11-29 13:53:05 +03:00
2019-10-29 16:27:41 +03:00
2019-11-29 13:53:05 +03:00
2020-05-12 16:57:07 +03:00
2020-02-18 10:50:03 +03:00
2019-11-29 13:53:05 +03:00
2020-02-28 15:29:01 +03:00
2019-11-29 13:53:05 +03:00
2020-04-13 20:26:19 +03:00
2019-11-29 13:53:05 +03:00
2019-08-30 11:47:30 +03:00
2019-11-29 13:53:05 +03:00
2019-11-29 13:53:05 +03:00
2019-11-29 13:53:05 +03:00
2020-05-14 13:40:36 +03:00
2019-11-29 13:53:05 +03:00
2019-11-29 13:53:05 +03:00
2019-11-29 13:53:05 +03:00
2019-04-05 16:18:58 +03:00
2019-11-29 13:53:05 +03:00
2020-04-17 12:37:29 +03:00
2019-11-29 13:53:05 +03:00
2020-05-28 22:19:21 +03:00
2019-05-16 07:58:45 +02:00
2019-11-29 13:53:05 +03:00
2020-05-29 21:10:56 +03:00
2020-05-29 21:10:56 +03:00
2020-05-29 21:10:56 +03:00