Kroppeb
11/05/2019, 11:39 PMr1
to r2
, but these are not equivalent. (The inferred type isn't even the same) Seems to be an issue if an extension function on a nullable type gives a generic type with the input type as one of the type parameters and as input a nullable type with a nullable parameterstreetsofboston
11/05/2019, 11:42 PMT.p
, correct?streetsofboston
11/05/2019, 11:44 PMList<Int>
is a sub-type of `List<Int?>`… just guessing here 🙂Frodrigues
11/05/2019, 11:50 PMKroppeb
11/05/2019, 11:54 PMt = T(null)
, then r1
will return [null]
but r2
would return [10]
w_bianrytree
11/06/2019, 2:10 AMKroppeb
11/06/2019, 2:15 AMbodiam
11/06/2019, 3:33 AMAlexey Belkov [JB]
11/07/2019, 6:38 AMKroppeb
11/07/2019, 7:27 PM