when I write sequence.prefix(n).map(f) the compiler complains that .prefix
is ambiguous. If I replace it with [..<n] it works fine. Why is this
happening? I found SR-1856 <https://bugs.swift.org/browse/SR-1856> which
looks like a similar issue but it’s marked fixed.
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

Reply via email to