Skip to content

Fix contextual integer literal checks in call arguments - #54

Merged
HarperZ9 merged 1 commit into
mainfrom
codex/contextual-signed-min-20260916
Sep 16, 2026
Merged

HarperZ9 merged 1 commit into
mainfrom
codex/contextual-signed-min-20260916

Conversation

@HarperZ9

Copy link
Copy Markdown
Owner

Summary

  • Enforce concrete integer literal range diagnostics for selected call parameter types without replacing argument-position coercion.
  • Preserve &mut T to &T argument coercion for direct calls, impl methods, and overloaded calls.
  • Add CLI regressions for signed-min i64 argument spelling and the coercion compatibility path.

Validation

  • cargo test --manifest-path compiler/Cargo.toml --quiet
  • cargo fmt --manifest-path compiler/Cargo.toml -- --check
  • git diff --check

@HarperZ9
HarperZ9 marked this pull request as ready for review September 16, 2026 09:01
@HarperZ9
HarperZ9 merged commit 7d38ac7 into main Sep 16, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant