Repository navigation
ObjC: a method header ended by ; and followed by its { body is a definition (Part of #5639) - #5795
Conversation
…definition (Part of #5639) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… of #5639) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #5795 @ d4a3534: 1 failed check(s) == Call resolution (Level 2, vs pyan3) (failure) -- real |
Part of #5639 (slice 2 of 2). Does not close it: the licensed-port rescan against the #5630 oracle is still unrecorded, and
[f(x) a:1]is a known gap.Change
- (void)setOn:(BOOL)turnOn;followed by{ ... }(a stray;after the header) was taken for a bodyless declaration: a loc-1 unit whose body's message sends belonged to nobody. Indetector.py(objc group-1 branch) a;terminator that is followed, after whitespace, by{is now the body start: a declaration is never followed by a{. Real@interfacedeclarations (followed by another method or@end) stay bodyless.Evidence (doom-study ports, my per-line oracle: every
[recv selline must sit inside a unit that recordssel): the three;{headers (doom-iosUICustomSwitch.m setOn:, eternityELTextFieldDelegate.m controlTextDidChange:, prboom-plusUKKQueue.m removeAllPathsFromQueue) now record their sends. gzdoom is already 0.99 on this oracle after #5691 (the remaining misses are[super x]wherexis the enclosing method's own name, and nested sends).Class table
Class: an ObjC method whose unit extent is wrong, so its sends are lost.
Cls::M, ctor, dtor;then{static T* GetWindow() {)CocoaVideo() : a(1) {).mm), needs a bare-name func_start alternative with a ReDoS-bounded init list[super x]/[obj x]inside methodxdropped from calls_outTests / gates
tests/extraction/languages/test_objc_semicolon_header_units_5639.py(unary, keyword,+, loose spacing, interface declarations, declaration before a C function).pr_gates --fast7/7,--ratchets8/8, tree-wide guards 184 passed. Golden masters re-blessed viagolden-lock.sh crucible_check.py --update --yes.Golden drift:
scope_check --expect objective-cshows 183 objective-c differences (calls_out, units, the DNA hit ofworldwideweb/Anchor.m) plus ~70 last-digit PageRank / coordinate / rollup moves in other languages (e.g.Expected 0.000123, Got 0.000122, topological X +-0.3). Those are the repo-wide graph recomputation after ObjC call edges moved, not language changes.🤖 Generated with Claude Code