Dmitriy Novozhilov
102c9c08d0
[FIR] Resolve elvis call as special synthetic call
...
Before that commit we desugared `a ?: b` as
when (val elvis = a) {
null -> b
else -> elvis
}
It was incorrect, because `a` should be resolved in dependent mode,
but when it was `elvis` initializer it was resolved in independent
mode, so we can't infer type for `a` in some complex cases
2020-07-02 15:10:51 +03:00
..
2020-06-03 10:43:37 +03:00
2020-06-15 15:32:25 +03:00
2020-06-19 15:53:11 +03:00
2020-04-17 12:37:29 +03:00
2020-07-02 15:10:51 +03:00
2020-05-21 18:01:36 +03:00
2020-07-02 15:10:51 +03:00
2020-06-16 00:01:06 +03:00
2020-07-02 15:10:51 +03:00
2020-06-16 00:01:06 +03:00
2020-06-29 16:07:50 +03:00
2020-04-13 20:26:18 +03:00
2020-06-19 15:53:09 +03:00
2020-06-11 11:31:36 +03:00
2020-04-15 11:13:01 +03:00
2020-04-20 17:05:34 +03:00
2020-06-15 15:32:25 +03:00
2020-07-02 15:10:51 +03:00
2020-06-03 10:43:37 +03:00
2020-06-15 11:33:42 +03:00
2020-06-16 00:01:06 +03:00
2020-06-03 10:43:37 +03:00
2020-04-20 17:05:34 +03:00
2020-04-02 12:10:50 +03:00
2020-06-03 10:43:37 +03:00
2020-04-17 13:22:19 +03:00
2020-04-17 13:22:19 +03:00
2020-04-17 12:37:29 +03:00
2020-06-16 00:01:06 +03:00
2020-06-19 15:53:09 +03:00
2020-06-05 17:46:35 +03:00
2020-06-05 17:46:35 +03:00
2020-05-07 12:02:57 +03:00
2020-07-02 15:10:51 +03:00
2020-04-21 09:52:52 +03:00
2020-04-21 09:52:52 +03:00
2020-06-15 15:32:25 +03:00
2020-07-02 15:10:51 +03:00
2020-07-02 15:10:51 +03:00
2020-06-15 15:32:25 +03:00
2020-06-16 00:01:06 +03:00
2020-04-23 13:57:27 +03:00
2020-06-16 00:01:06 +03:00
2020-06-05 17:46:35 +03:00
2020-06-05 17:46:35 +03:00
2020-04-17 13:22:19 +03:00
2020-04-03 17:21:21 +03:00
2020-06-15 15:32:25 +03:00
2020-05-20 15:12:32 +03:00
2020-05-12 16:57:07 +03:00
2020-04-13 20:26:18 +03:00
2020-06-03 10:43:37 +03:00
2020-04-07 17:54:55 +03:00