Repository navigation
iOS: a protocol's optional requirement stays optional where an adopting protocol declares it again - #275
Merged
Conversation
|
Deployment failed for project website with the following error: Learn More: https://vercel.com/faustino-kialungilas-projects?upgradeToPro=build-rate-limit |
Fausto95
force-pushed
the
ci-jvm-signal-warning
branch
from
October 14, 2026 10:45
9b0ab84 to
359512a
Compare
Fausto95
force-pushed
the
ios-inherited-optional
branch
from
October 14, 2026 10:45
5bccc3b to
e2ac3f6
Compare
|
Deployment failed for project lucent with the following error: Learn More: https://vercel.com/faustino-kialungilas-projects?upgradeToPro=build-rate-limit |
Fausto95
force-pushed
the
ci-jvm-signal-warning
branch
from
October 14, 2026 10:46
359512a to
b36c796
Compare
Fausto95
force-pushed
the
ios-inherited-optional
branch
from
October 14, 2026 10:46
e2ac3f6 to
823d74b
Compare
Fausto95
force-pushed
the
ci-jvm-signal-warning
branch
from
October 14, 2026 11:01
b36c796 to
7cc121c
Compare
Fausto95
force-pushed
the
ios-inherited-optional
branch
from
October 14, 2026 11:01
823d74b to
304bfa3
Compare
Fausto95
force-pushed
the
ci-jvm-signal-warning
branch
from
October 14, 2026 11:03
7cc121c to
451f0e9
Compare
Fausto95
force-pushed
the
ios-inherited-optional
branch
from
October 14, 2026 11:03
304bfa3 to
f0dfb42
Compare
Fausto95
force-pushed
the
ci-jvm-signal-warning
branch
from
October 14, 2026 11:04
451f0e9 to
3ac12bf
Compare
Fausto95
force-pushed
the
ios-inherited-optional
branch
from
October 14, 2026 11:04
f0dfb42 to
a445cb6
Compare
Fausto95
force-pushed
the
ci-jvm-signal-warning
branch
from
October 14, 2026 11:04
3ac12bf to
5c4a989
Compare
Fausto95
force-pushed
the
ios-inherited-optional
branch
from
October 14, 2026 11:04
a445cb6 to
1f5f3ea
Compare
Fausto95
force-pushed
the
ci-jvm-signal-warning
branch
from
October 14, 2026 11:42
5c4a989 to
7abcfed
Compare
Fausto95
force-pushed
the
ios-inherited-optional
branch
from
October 14, 2026 11:42
1f5f3ea to
a2af99b
Compare
Fausto95
force-pushed
the
ci-jvm-signal-warning
branch
from
October 14, 2026 16:31
7abcfed to
0b36365
Compare
…ng protocol declares it again URLSessionDownloadDelegate adopts URLSessionTaskDelegate and URLSessionDelegate, and declares again what both branches declare: URLSessionDelegate's optional requirements came out required, so a delegate had to implement them all. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KaXTpjxQL34i1B21Jt4UMB
Fausto95
force-pushed
the
ios-inherited-optional
branch
from
October 14, 2026 16:32
a2af99b to
509e1ac
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A Lucent class implementing an iOS protocol no longer has to implement optional requirements that come from the protocols that protocol adopts.
URLSessionDownloadDelegateadoptsURLSessionTaskDelegateandURLSessionDelegate. Its declaration repeats what both branches declare, tagged@lucentInherited, and the repeated members lost their optionality:class Downloads implements URLSessionDownloadDelegatefailed with TS2720 unless it also implementedurlSession_didBecomeInvalidWithErrorandurlSession_didReceive_completionHandler. Found by T137's background download, compiled against the real iOS SDK on CI.dts.ts: an inherited overload keeps its method'soptional.dts-audit.test.ts: a fixture with Foundation's shape.Stacked on #274.
🤖 Generated with Claude Code
https://claude.ai/code/session_01KaXTpjxQL34i1B21Jt4UMB
Generated by Claude Code