2

I have some code that used to relay on _ArrayType in pre Swift 3. I am trying to understand what happened to public protocol _ArrayType.

Any idea?

JAL
  • 41,701
  • 23
  • 172
  • 300
zumzum
  • 17,984
  • 26
  • 111
  • 172
  • http://stackoverflow.com/questions/39628695/extending-typed-arrays-of-primitive-types-like-bool-in-swift-3. – Martin R Sep 26 '16 at 16:59
  • What were you using `_ArrayType` for? Undocumented changes like this one is exactly why you should try to avoid underscored protocols. – Tim Vermeulen Sep 26 '16 at 19:13

1 Answers1

6

_ArrayType was renamed _ArrayProtocol. You can see this in the ArrayType.swift file and this commit.

internal protocol _ArrayProtocol
  : RangeReplaceableCollection,
    ExpressibleByArrayLiteral
{
    // ...
}
JAL
  • 41,701
  • 23
  • 172
  • 300