Skip to content

Instantly share code, notes, and snippets.

@oleander
Last active June 19, 2017 21:15
Show Gist options
  • Save oleander/a6202d8c2068f14ea490f00781163ea6 to your computer and use it in GitHub Desktop.
Save oleander/a6202d8c2068f14ea490f00781163ea6 to your computer and use it in GitHub Desktop.
error.swift
main.swift:55:7: error: ambiguous reference to member 'init'
self.init(x)
^~~~
Swift.Array<Element>:49:12: note: found this candidate
public init<S>(_ s: S) where S : Sequence, S.Iterator.Element == Element
^
Swift.RangeReplaceableCollection:22:24: note: found this candidate
public convenience init<S>(_ elements: S) where S : Sequence, S.Iterator.Element == Self.Iterator.Element
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment