Skip to content

[pull] main from B-Lang-org:main#177

Merged
pull[bot] merged 3 commits into
chenm001:mainfrom
B-Lang-org:main
Jun 28, 2026
Merged

[pull] main from B-Lang-org:main#177
pull[bot] merged 3 commits into
chenm001:mainfrom
B-Lang-org:main

Conversation

@pull

@pull pull Bot commented Jun 28, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

nanavati and others added 3 commits June 28, 2026 11:37
byInst recorded the source package as used on every head-match, before
sat decided whether to commit. Move recordPackageUse to sat, after
satMany confirms sub-goals succeed, by threading Maybe Id through
byInst to reducePred to sat. The bad_match/fail path never records
a use.

Add test 6c (BoolDescribable/UseOrphanSeparately) to test this
recording path directly.
ctxreduce discarded tsUsedPackages (the third runTI result), so instance
resolution during ctxredice was recorded in its TI monad and then lost.
If the body code did not actually use the relevant dictionary, the
relevant package looked unused and received a spurious unused-import
warning.

The fix is to include the packages recorded by ctxreduce in the set
of all packages used.
@pull pull Bot locked and limited conversation to collaborators Jun 28, 2026
@pull pull Bot added the ⤵️ pull label Jun 28, 2026
@pull pull Bot merged commit ec6b300 into chenm001:main Jun 28, 2026
22 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant