Skip to content

analyze audit:all: an in-place (pinned) facade resource trips 'receiver requirement is not the finalized param[0] effect' on the seed #1600

Closed

Description

@ehartford

Found during Modeled C stage 8 (branch modeled-c-stage8); pre-existing on the pinned seed, not introduced by stage 8.

Repro (pinned seed, tree at origin/modeled-c-stage7 or main):

src/main analyze test/behavior/behav_c_facade_resource_in_place_pinned.w audit:all
# compiler-analysis-audit: facts=13293 violations=3 FAILED
src/main analyze test/behavior/behav_c_facade_resource_in_place_drop_once.w audit:all
# violations=1

The single violation on _in_place_drop_once is receiver requirement is not the finalized param[0] effect on a rendered signature of the in-place Stream resource (a Box[z_stream] cell, D54). audit:effects is clean; audit:receivers, audit:receiver-surface, audit:methods and audit:calls each report one. Pointer resources (behav_c_facade_resource_drop_once.w) audit clean.

Stage 8's new in-place fixtures (behav_c_facade_presentation_in_place.w, behav_c_import_auto_method_baseline.w) inherit the same single violation; every pointer-resource fixture added there audits ok.

Route: with analyze <fixture> 'matrix:name~Stream' to see the receiver requirement vs the finalized effect on the pinned-cell methods; the rendering is compiler/FacadeRender.w facade_render_init / facade_render_lend_methods (the self.repr.as_mut_ptr() call through &self).

Activity

  1. ehartford commented on Sep 26, 2026

    @ehartford
    ContributorAuthor

    Fixed on main by #1706 (112b2f3): post-finalization receiver specializations get their requirement; never-defined bodies need no marshalling proof; both in-place fixtures audit green and are pinned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions