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
..
2020-06-24 16:13:02 +03:00
2020-06-11 11:01:43 +03:00
2020-03-23 15:12:54 +03:00
2020-05-27 00:32:56 +03:00
2020-04-03 17:21:21 +03:00
2020-03-11 16:01:57 +03:00
2020-03-25 08:27:21 +03:00
2020-03-30 16:57:53 +03:00
2020-03-30 16:57:53 +03:00
2020-03-25 09:20:07 +03:00
2020-03-25 09:20:07 +03:00
2020-03-23 15:12:54 +03:00
2020-03-11 16:01:57 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2020-03-10 15:19:34 +03:00
2020-03-10 15:19:34 +03:00
2019-11-19 11:00:09 +03:00
2020-03-10 15:19:34 +03:00
2020-03-10 15:19:34 +03:00
2020-04-20 17:05:30 +03:00
2020-03-18 17:09:36 +03:00
2020-03-30 16:57:52 +03:00
2020-02-06 12:44:14 +03:00
2020-03-11 16:01:57 +03:00
2020-04-30 12:26:47 +03:00
2020-04-08 10:38:45 +03:00
2020-02-14 18:22:17 +03:00
2019-10-21 17:41:56 +03:00
2020-03-27 10:52:33 +03:00
2020-07-06 17:52:37 +03:00
2020-07-06 17:52:37 +03:00
2020-02-28 15:29:02 +03:00
2020-02-25 12:13:42 +03:00
2020-05-27 00:32:56 +03:00
2019-11-19 11:00:10 +03:00
2020-01-10 10:43:07 +03:00
2020-01-10 10:43:07 +03:00
2020-02-20 14:24:02 +03:00
2020-01-10 10:43:07 +03:00
2020-03-10 15:19:34 +03:00
2020-05-27 00:32:56 +03:00
2020-02-06 12:44:14 +03:00
2020-03-25 08:27:21 +03:00
2020-07-08 09:42:24 +03:00
2020-07-08 09:42:24 +03:00
2020-03-25 08:27:21 +03:00
2020-01-10 10:43:07 +03:00
2019-11-19 11:00:10 +03:00
2020-03-18 17:09:35 +03:00
2020-03-24 12:15:18 +03:00
2020-04-02 12:43:06 +03:00
2020-03-10 15:19:34 +03:00
2020-03-10 15:19:34 +03:00
2020-06-11 11:01:43 +03:00
2020-04-03 13:31:15 +03:00
2019-11-19 11:00:09 +03:00
2020-04-03 13:29:55 +03:00
2020-03-23 15:12:54 +03:00
2020-03-25 08:27:21 +03:00
2020-03-18 17:09:36 +03:00
2020-03-10 15:19:34 +03:00
2020-04-02 12:42:50 +03:00
2019-11-25 09:37:47 +03:00
2020-04-03 13:29:55 +03:00
2020-03-23 15:12:54 +03:00
2020-03-25 08:27:21 +03:00
2020-03-25 08:27:21 +03:00
2020-06-17 20:02:26 +03:00
2020-03-25 08:27:21 +03:00
2020-03-25 08:27:21 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2020-04-03 13:31:15 +03:00