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