New issue
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
[SR-4286] [Blocker] unhandled param context #46869
Comments
Amazingly, this issue is suppressed by naming the unnamed parameters shown here (I used extension _Indexable {
public subscript(_: UnboundedRange) -> SubSequence {
return self[startIndex..<endIndex]
}
}
extension _MutableIndexable {
public subscript(_: UnboundedRange) -> SubSequence {
get {
return self[startIndex...]
}
set {
self[startIndex...] = newValue
}
}
} |
I believe this bug is now a blocker for me. I have a newer reproducer:
which crashes like this when you build the standard library:
you can suppress the assertion by naming the subscript parameter in the protocol declaration ( Other hashes:
|
@slavapestov Thanks; did you want to assign to me for closure? |
Re-assigning to you for closure, continuation and macro. |
Thanks, Slava! |
Additional Detail from JIRA
md5: 74775e111704e9fe2799b4a67cdd9479
Issue Description:
Other hashes
clang 1381e50988 Merge remote-tracking branch 'origin/swift-4.0-branch' into stable
cmark d875488 Merge pull request #4 from llvm-beanz/generate-cmark-exports
compiler-rt 572336a0b Merge remote-tracking branch 'origin/swift-4.0-branch' into stable
llbuild c8a84b3 Merge pull request #130 from hughbe/mkdir-windows
lldb 9ca9758f9 Merge pull request #149 from bitjammer/swift-typealias-equal-sourceloc
llvm e69035ecc18 Merge remote-tracking branch 'origin/swift-4.0-branch' into stable
Traceback (most recent call last):
The text was updated successfully, but these errors were encountered: