Files
kotlin-fork/compiler/testData/diagnostics/tests/inference
Pavel Kirpichenkov 896fbbd1a3 [NI] Add extra ordering for ready-for-fixation variables
Helps fixing to more specific type in the following situations:
Type1 <: Var1
Var2 <: Var1
Var2 <: Type2

Type1 and Type2 may also be nullable and non-nullable versions of the same type.
Note that no additional constraints can be inferred from such constraints before fixation.
Resulting types for variables will always Type1 and Type2 may also be nullable and non-nullable versions of the same type.
Fixing Var1 first will make Var2's type more specific while fixing Var2 first
will make Var1's type less specific. The first is preferrable in general.
2020-09-22 15:06:12 +03:00
..
2020-08-28 10:59:54 +03:00
2019-02-07 12:12:34 +03:00
2019-02-07 13:27:05 +03:00
2019-02-21 12:04:23 +03:00
2020-04-20 04:10:37 +03:00
2020-04-20 04:10:37 +03:00