We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
swift-DEVELOPMENT-SNAPSHOT-2016-12-09-a MacOS 10.12.1
md5: 313f25c579a6b0cc6404a15541128cde
duplicates:
Issue Description:
This works:
extension Collection { func foo() { _ = Array<Iterator.Element>() } }
This doesn't:
extension Collection { func foo() { _ = [Iterator.Element]() } } ERROR at line 8, col 31: cannot call value of non-function type '[Self.Iterator.Element.Type]' _ = [Iterator.Element]() ~~~~~~~~~~~~~~~~~~^~
Not sure if its on purpose or if its a bug.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment
swift-DEVELOPMENT-SNAPSHOT-2016-12-09-a
MacOS 10.12.1
Additional Detail from JIRA
md5: 313f25c579a6b0cc6404a15541128cde
duplicates:
Issue Description:
This works:
This doesn't:
Not sure if its on purpose or if its a bug.
The text was updated successfully, but these errors were encountered: