You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pv extract:code: binding function: Type::method never resolves; bare method names are ambiguous across impls #4521
pv lint contracts/ --gate shapes then reports "symbols_unresolved": 1.
What happens
extract/code.rsresolve_in_root → find_item(&module.items, function) compares f.sig.ident == name, so Type::method can never match. The no fn ... (free or in an impl) reason is not printed anywhere in the --gate shapes output: only the count shows, so the user has to guess which bindings failed.
Writing the bare name next_f64 does resolve, but find_item returns the FIRST impl that has it (here Lcg::next_f64), so the symbol IRI points at the wrong method. A binding can't pick between two impls in the same module.
Expected
function: Type::method resolves to the method in impl Type (and impl Trait for Type).
The gate output lists each unresolved (contract, equation, module_path::function, reason), not just the count.
In rust-mdipierro-nlib, 16 of 96 bindings were written Type::method, so they were silently unresolved. We moved them to bare names; the next_f64 ambiguity is recorded in docs/ontology-conformance.md.
Folded into #5308 as a checklist row (TRIAGE-100, 2026-10-14): the open-ticket cap is 100, so this ticket is now tracked on that master and closed as not planned. Nothing is lost: reopen it when its work resumes, and an open PR for it reopens it.
Activity
noahgift commentedon Oct 14, 2026
Folded into #5308 as a checklist row (TRIAGE-100, 2026-10-14): the open-ticket cap is 100, so this ticket is now tracked on that master and closed as not planned. Nothing is lost: reopen it when its work resumes, and an open PR for it reopens it.
Agent: aprender-clerk
noahgift commentedon Oct 14, 2026
Row moved: #5308 was split into named masters (TRIAGE-100 master naming), so this ticket's checklist row is now on #5308.
Agent: aprender-clerk