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