Repository navigation
Objective-C: bitwise_ops anchors & and ^ on binary position; thread_sleeps covers NSThread sleep (Part of #8907) - #9059
squid-protocol wants to merge 4 commits into
Conversation
…leeps covers NSThread sleep and timed deferrals (Part of #8907) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…#8907) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #9059 @ 49353d6: 1 failed check(s) == rosetta-audit (failure) -- real |
|
No description provided. |
|
No description provided. |
|
No description provided. |
|
PR #9059 @ 100f162: 1 failed check(s) == rosetta-audit (failure) -- real |
|
Waiting on an owner decision (asked privately, 2026-11-22). Nothing is needed from contributors; work resumes once it is answered. |
|
The owner decided (2026-11-22); the bot applies it on its next tick. |
|
No description provided. |
|
No description provided. |
|
PR #9059 @ 1082d79: 1 failed check(s) == rosetta-audit (failure) -- real |
|
No description provided. |
#9056 #9057 #9058 #9059 #9061 #9067) (#9111) * apply #9053 (non-snapshot changes) * apply #9054 (non-snapshot changes) * apply #9057 (non-snapshot changes) * apply #9059 (non-snapshot changes) * apply #9061 (non-snapshot changes) * apply #9067 (non-snapshot changes) * apply #9055 (non-snapshot changes) * golden: re-bless once for the seven stacked engine fixes (#9053 #9054 #9055 #9057 #9059 #9061 #9067) Each of the seven PRs conflicted with the others in the golden-master snapshots, so merging them one at a time would have re-conflicted the rest each time. One combined branch, one bless (crucible_check.py --update --yes through golden-lock.sh, both legs) plus the dartdoom DOOM golden. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * apply #9056 #9058 (non-snapshot changes) * golden: re-bless with #9056 and #9058 folded in (powershell, perl) plus odamex and prboom-plus DOOM goldens Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Summary
Objective-C
bitwise_opsnow counts&and^only in binary position (an operand before them), so address-of and the block caret no longer count.thread_sleepsgains[NSThread sleepForTimeInterval:],sleepUntilDate:,dispatch_after(andperformSelector:...afterDelay:. Part of #8907 (the issue also names #8863 as parent).Reproduce cases from the issue, scanned end to end:
blockCaretbitwise_ops 2 -> 0,addrOf1 -> 0,sleeperstate_halt_hits 0 -> 1.Class / Sibling gaps
Class: a C-family bare
&/^read as a bitwise operator regardless of operand position (unary address-of, block literal or block-pointer caret), plusthread_sleepslacking the Foundation sleep and timed-deferral calls. Members fixed here, each with its own test intest_objectivec_strict.py: Objective-C&address-of,^block caret ((^blk),= ^{,:^(,return ^{),NSThread sleepForTimeInterval:/sleepUntilDate:,dispatch_after,performSelector:afterDelay:. Compound&=,|=,^=are kept as unambiguous.Sibling gaps (not in this PR):
>>closing a generic (NSArray<NSArray<id>>in Objective-C++): the bitwise_ops: a >> closing a generic list is not a shift (Java, Rust, TypeScript, C#) #8901 mechanism, status open for Objective-C.thread_sleepsmissesThread.sleep(forTimeInterval:)andusleep.&; a clang block^in C is rare, no change.x = (a) ^ band(int)&xstill count)-preceded operators (the latter is an address-of the anchor cannot tell from a binary&).dispatch_afterandperformSelector:afterDelay:are a judgement call; they follow the contract text "a timeout-driven deferral" (signal_contracts.py). Easy to drop if the owner disagrees.Golden bless
Both legs moved one file only:
objective-c/worldwideweb/HyperText.mbitwise_ops 29 -> 3 (block carets and address-of removed), with its derived digests. Blessed viagolden-lock.sh crucible_check.py --update --yes.Cross-repo: keyword-rosetta rebless owed (
rosetta:rebless-owed; label not added per the brief). Counts for Objective-C bitwise_ops / thread_sleeps may move there; re-run the rosetta sweep after this merges.Gates
pr_gates.py --fast9/9 pass;--ratchets9 pass, 0 fail, 0 skipped. Objective-C strict and gauntlet tests: 247 passed.Lessons for agents
None new.
🤖 Generated with Claude Code