Repository navigation
Rust unreachable!/time types and Go time calls follow their contracts (Part of #8863, #8868) - #9227
Merged
Merged
Conversation
…ix/Until/ParseDuration/LoadLocation follow their contracts (Part of #8863, #8868) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
1 similar comment
Contributor
|
No description provided. |
Contributor
Open
21 of 34 tasks
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.
Part of #8863, #8868.
Checklist: partial [c:a9dfa2bb] -- no
draftcontracts remain; three contract-answerable rule rows from #8868 land here; the owner readings (Cassertas abort, Go writer prints,docstyles) and the other per-language rule rows are left.What changed
panics_and_aborts: addsunreachable!andunimplemented!(the contract names "an unreachable marker").time_date_logic: adds the bareDuration::/Instant::/SystemTime::forms (the rule only matchedstd::time::...paths).time_date_logic: addstime.Date,Unix,UnixMilli,Until,ParseDuration,LoadLocation.golden-lock.sh; drift is in rust/go files plus the repo-level archetype aggregates they feed.Class / Sibling gaps
Class: a language rule narrower than its declared signal contract (#8868's contract-answerable rows). Handled: the three above. Sibling gaps, none needing a burned mainframe estate (core/sweep work): Rust
exitunderpanics_and_aborts, Rustsleep/time::sleepunderthread_sleeps, Rustio; TypeScript regex literals and.test; Goio(os.ReadDir,WriteFile, ...); JavaSystem.nanoTime/TimeUnit.; Cclose/mmap/fgetsand baretime(; Zigunreachable(design question); Dart/Rustdoccounting bare///. Owner reading still needed: Cassertas an abort.Gates
pr_gates --fast9/9 pass; strict tests for both languages pass (171);ruff format --checkclean.--ratchetsnot run here beyond the golden bless.🤖 Generated with Claude Code