Skip to content

c_import: translated unsafe blocks print their raw operations without a redundant prefix (#1704) - #1707

Merged
ehartford merged 1 commit into
mainfrom
ci-unsafe-noise
Sep 26, 2026
Merged

ehartford merged 1 commit into
mainfrom
ci-unsafe-noise

Conversation

@ehartford

Copy link
Copy Markdown
Contributor

One-line printer fix; every facade fixture (57) now compiles without the "redundant unsafe prefix" warning. Batches with the other build/tooling PRs; draft until the battery is posted.

… raw operations without their own prefix (#1704)

Every facade program with a by-value record parameter compiled with
"warning: redundant unsafe prefix inside unsafe context" on its translated
code: the block printer wrapped the inner text after it had been printed
with the prefix on. It now prints the inner through the flag-scoped operand
printer, as the other wrappers do. All 57 facade fixtures compile warning-free.
@ehartford

Copy link
Copy Markdown
Contributor Author

Seed-driven battery at ed77c29 (seed nightly-20260925-local-1, WITH=src/main), this host:

ed77c29e ciwarn /Users/eric/.local/with-staging/ciwarn
ciwarn build  rc=0
ciwarn build :fixpoint rc=0
ciwarn build :test rc=0
ciwarn build :test-green rc=0
ciwarn build :last-green rc=0
ciwarn build :user-programs-safe rc=0
BATTERY_DONE

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