Picking up from @Ling_Wang's above question the ifSome
method defaults to Range<Int>
and in turn to ReverseCollection<Range<Int>>
, where as ?
optional chaining in your code failure example defaults to ReverseCollection<[Int]>
-- implying optional chaining picks the wrong reverse method.
Is this bug logged?