Mikhail Zarechenskiy
650e2501bb
[NI] Prioritize variables with trivial constraints over complex ones
...
Consider the following constraint system (from the test example):
Nothing? <: V1
F!! <: V2
Inv<V1> <: S
Inv<V2> <: S
Where V1, V2, S are type variables, and F has nullable upper bound.
Type variable fixation order should be: V2 -> V1 -> S, and the problem
was that previously after fixation of type variable V2 we were trying
to fix S (before V1), so we had the following constraints on S:
Inv<F!!> <: S
Inv<V1> <: S
=> S were fixed to Inv<F!!>
And after this V1 was fixed to F!! which is contradictory as Nothing?
is not a subtype of F!!.
#KT-33033 Fixed
2019-11-06 15:20:17 +03:00
..
2019-10-25 19:37:06 +03:00
2018-07-05 10:42:49 +03:00
2019-10-25 16:28:40 +03:00
2019-04-17 12:55:12 +03:00
2019-04-17 12:55:12 +03:00
2019-02-26 19:09:42 +01:00
2019-02-17 13:02:22 +03:00
2019-06-07 12:31:38 +03:00
2017-03-02 18:34:51 +03:00
2019-06-07 12:31:38 +03:00
2019-10-31 11:32:00 +03:00
2018-12-20 12:53:23 +01:00
2019-04-17 12:55:12 +03:00
2019-02-14 12:31:42 +03:00
2017-06-22 14:18:11 +03:00
2019-04-17 12:55:12 +03:00
2019-09-20 17:56:06 +03:00
2019-10-02 17:14:48 +04:00
2019-04-17 12:55:12 +03:00
2019-05-08 12:19:50 +03:00
2019-02-13 16:21:05 +03:00
2019-02-14 12:31:42 +03:00
2019-02-14 12:31:42 +03:00
2019-05-23 12:22:42 +03:00
2019-04-17 12:55:12 +03:00
2018-11-08 17:16:06 +03:00
2019-04-25 16:19:37 +03:00
2019-04-25 16:19:37 +03:00
2019-06-25 14:09:42 +03:00
2019-09-20 17:05:03 +03:00
2019-09-16 19:00:43 +03:00
2019-07-01 12:59:37 +03:00
2019-11-06 15:20:17 +03:00
2019-04-17 12:55:12 +03:00
2019-04-17 12:55:12 +03:00
2018-10-15 12:21:14 +03:00
2019-04-25 16:19:38 +03:00
2019-06-07 12:31:38 +03:00
2017-05-26 13:58:46 +03:00
2018-10-25 19:10:39 +03:00
2017-09-12 11:54:04 +03:00
2019-04-17 12:55:12 +03:00
2018-04-06 14:17:32 +02:00
2019-09-20 17:56:06 +03:00
2019-04-17 12:55:12 +03:00
2019-06-10 13:34:27 +03:00
2019-10-02 11:13:15 +03:00
2019-04-05 12:52:29 +03:00
2019-05-23 12:22:42 +03:00
2019-03-26 22:32:14 +03:00
2019-04-17 12:55:12 +03:00
2019-06-07 12:31:38 +03:00
2019-09-20 17:56:06 +03:00
2019-04-02 12:21:14 +03:00
2019-02-14 12:31:42 +03:00
2017-01-19 09:53:17 +03:00
2019-07-01 12:53:33 +03:00
2019-02-14 12:31:42 +03:00
2019-05-22 15:45:59 +03:00
2019-04-17 01:40:56 +03:00
2019-04-19 14:46:22 +03:00
2019-02-10 13:31:57 +01:00
2019-10-29 15:52:01 +01:00
2019-10-31 11:32:02 +03:00
2019-10-25 19:37:06 +03:00
2019-07-01 12:53:33 +03:00
2019-07-01 12:53:33 +03:00
2019-04-17 12:55:12 +03:00
2017-05-15 11:24:35 +03:00
2019-04-25 16:19:38 +03:00
2018-07-25 12:08:20 +03:00
2017-07-07 14:19:57 +03:00
2019-08-01 14:37:54 +03:00
2019-02-14 12:31:42 +03:00
2019-06-07 12:31:38 +03:00
2019-04-17 12:55:12 +03:00
2018-10-24 18:17:12 +02:00
2019-07-01 12:53:33 +03:00
2019-04-25 16:19:35 +03:00
2018-04-20 13:06:21 +03:00
2019-02-14 12:31:42 +03:00
2019-05-26 21:32:46 +03:00
2019-08-01 14:37:54 +03:00
2016-11-17 22:58:40 +03:00
2019-06-07 12:31:38 +03:00
2019-11-01 19:40:20 +03:00
2019-08-01 14:37:54 +03:00
2018-05-04 18:04:57 +03:00
2018-05-04 18:04:57 +03:00
2018-05-04 18:04:57 +03:00
2018-05-04 18:04:57 +03:00
2016-11-22 18:19:01 +03:00
2019-04-19 09:08:31 +03:00
2016-10-11 23:38:49 +03:00
2017-04-04 14:23:30 +03:00
2016-10-11 23:38:49 +03:00
2019-04-17 12:55:12 +03:00
2019-04-17 12:55:12 +03:00
2019-05-26 21:32:46 +03:00
2018-07-25 12:08:20 +03:00
2019-09-12 15:11:00 +03:00
2019-09-12 15:11:00 +03:00
2019-09-12 15:11:00 +03:00
2019-09-12 15:11:00 +03:00
2019-02-19 21:35:36 +01:00
2016-11-16 18:47:42 +03:00
2018-07-25 12:08:20 +03:00
2019-01-17 14:58:01 +03:00
2017-11-29 02:54:26 +03:00
2017-12-07 12:49:56 +03:00
2019-02-14 12:31:42 +03:00
2016-10-11 23:38:49 +03:00
2017-10-02 10:04:16 +03:00
2017-04-27 15:50:18 +03:00
2019-04-17 12:55:12 +03:00
2017-11-29 02:54:30 +03:00
2017-12-07 12:49:56 +03:00
2017-11-29 02:54:26 +03:00
2018-05-04 18:04:57 +03:00
2019-04-17 12:55:12 +03:00
2017-01-09 18:30:32 +03:00
2017-05-04 14:17:40 +03:00
2017-05-04 14:17:40 +03:00
2016-10-27 16:25:43 +03:00
2016-10-27 16:25:43 +03:00
2016-10-11 23:38:54 +03:00
2019-04-25 16:19:37 +03:00
2016-10-11 23:38:49 +03:00
2017-04-04 14:23:30 +03:00
2016-10-11 23:38:54 +03:00
2019-04-17 12:55:12 +03:00
2016-11-16 18:47:42 +03:00
2016-12-20 11:00:58 +03:00
2016-12-20 11:00:58 +03:00
2017-12-07 14:05:42 +03:00
2017-11-29 02:54:30 +03:00
2019-02-14 12:31:42 +03:00
2018-05-03 16:02:49 +02:00
2018-06-04 12:21:47 +03:00
2018-05-03 16:02:49 +02:00
2019-02-14 12:31:42 +03:00
2019-04-17 01:40:56 +03:00
2017-12-07 12:49:56 +03:00
2017-05-15 11:24:35 +03:00
2017-05-15 11:24:35 +03:00
2019-04-17 12:55:12 +03:00
2019-02-14 12:31:42 +03:00
2016-10-11 23:38:49 +03:00
2019-06-07 12:31:38 +03:00
2019-06-07 12:31:38 +03:00
2018-07-25 12:08:20 +03:00
2019-02-14 12:31:42 +03:00
2016-10-11 23:38:49 +03:00
2017-11-29 02:54:26 +03:00
2019-02-14 12:31:42 +03:00
2017-01-16 17:25:13 +03:00
2018-10-25 19:10:39 +03:00
2018-10-25 19:10:39 +03:00
2018-11-23 17:30:37 +03:00
2018-10-25 19:10:39 +03:00
2018-08-06 13:43:32 +02:00
2019-04-17 12:55:12 +03:00
2016-11-21 18:20:33 +03:00
2018-05-04 18:04:57 +03:00
2019-10-17 13:06:36 +02:00
2019-10-17 13:06:36 +02:00
2018-05-04 18:04:57 +03:00
2016-12-09 11:55:15 +01:00
2016-12-09 11:55:15 +01:00
2017-11-29 02:54:26 +03:00
2019-05-23 12:23:22 +03:00
2017-12-07 12:49:56 +03:00
2018-07-25 12:08:20 +03:00
2017-02-13 02:53:37 +03:00
2017-11-29 02:54:26 +03:00
2017-02-13 02:53:37 +03:00
2019-04-25 16:19:37 +03:00
2019-04-25 16:19:38 +03:00
2018-08-06 13:43:32 +02:00
2017-04-18 10:23:19 +03:00
2019-05-06 11:36:09 +03:00
2019-05-06 11:36:09 +03:00
2017-11-29 02:54:26 +03:00
2019-04-17 12:55:12 +03:00
2016-10-11 23:38:49 +03:00
2016-10-24 18:00:02 +03:00
2016-10-24 18:00:02 +03:00
2019-04-25 16:19:37 +03:00
2019-02-14 12:31:42 +03:00
2019-02-14 12:31:42 +03:00
2018-12-21 16:13:42 +03:00
2019-10-16 13:02:31 +02:00
2019-10-16 13:02:31 +02:00
2019-10-16 13:02:31 +02:00
2019-10-16 13:02:31 +02:00
2018-01-16 15:42:02 +01:00
2017-08-29 18:01:36 +03:00
2019-02-14 12:31:42 +03:00
2017-06-24 17:26:01 +03:00
2019-04-25 16:19:37 +03:00
2018-10-25 19:10:39 +03:00
2018-07-25 12:08:20 +03:00
2016-10-24 18:00:02 +03:00
2017-03-29 15:47:22 +03:00
2017-03-29 15:47:22 +03:00
2017-03-29 15:47:22 +03:00
2017-03-29 15:47:22 +03:00
2017-03-29 15:47:22 +03:00
2017-03-29 15:47:22 +03:00
2017-03-29 15:47:22 +03:00
2017-03-29 15:47:22 +03:00
2017-03-29 15:47:22 +03:00
2017-03-29 15:47:22 +03:00
2019-10-17 13:06:36 +02:00
2019-10-17 13:06:36 +02:00
2016-10-24 10:19:25 +03:00
2016-10-10 14:42:09 +03:00
2019-10-02 17:14:48 +04:00
2019-10-02 17:14:48 +04:00
2017-01-27 23:39:08 +03:00
2017-01-27 23:39:08 +03:00
2017-08-29 18:01:36 +03:00
2017-08-29 18:01:36 +03:00
2017-06-24 17:26:01 +03:00
2019-04-19 10:53:19 +03:00