Singleton-variable warnings on every library(rlm) load (a3628d3): rlm_skill.pl:881, rlm_prompt_compiler.pl:1941 #301
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/prolog-rlm#301
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
a3628d3("fix(runtime): propagate wall-time limits through skill compilation") added exception-propagation clauses with an unused first argument, which makes everyuse_module(library(rlm))print singleton-variable warnings:Affected clauses
Impact
Hosts that load the pack (CI logs, embedders, the Agent Zero runtime worker) get warning noise on every load; it also hides genuine future warnings in the same output. Not present at
b891c27, so it regressed witha3628d3.Fix
Rename the unused head argument to
_Phase(or_) in both clauses.