Skip to content

§16.2b.6: a facade operation whose return may borrow from either of two parameters is "not yet ruled" in normative text #2965

Closed

Description

@ehartford

Errata #2955 item 10. §16.2b.6: "returns borrow R from param N names one parameter per call; a return that may borrow from either of two parameters is not yet ruled." A hole in normative text in the modeled-C area (D51: never infer what can create unsafety). Needs Eric's ruling; the two obvious shapes are a union origin (borrows from both, invalidated by either) or refusing to model such an operation (it stays raw). Real candidate: libxml2 xmlAddChild(parent, cur).

Activity

  1. ehartford commented on Nov 2, 2026

    @ehartford
    ContributorAuthor

    D187: ruled by Eric against the prediction (spec v7.35 §16.2b.6, #2970): returns borrow T from params N, M, invalidated when either is; the migrator applies it where its proof derives a return from two parameters. Implementation next.

  2. added a commit that references this issue on Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions