Skip to content

fix: remove dead variableref_checked_collection_typeof (unbound ref) - #315

Open
docxology wants to merge 1 commit into
ReactiveBayes:mainfrom
docxology:fix/dead-variableref-fn
Open

fix: remove dead variableref_checked_collection_typeof (unbound ref)#315
docxology wants to merge 1 commit into
ReactiveBayes:mainfrom
docxology:fix/dead-variableref-fn

Conversation

@docxology

Copy link
Copy Markdown

Description

Fixes #3. src/graph_engine.jl:1062-1064 defines variableref_checked_collection_typeof(::VariableRef)
which references a never-bound ref (would UndefVarError on any call). The function has no
callers anywhere in the repo, so it is removed.

Change

Delete the function (and no other code references it, per grep).

Verification

src/graph_engine.jl compiles; grep for variableref_checked_collection_typeof now returns
no definitions.

Unused function referenced an unbound local 'ref' (latent UndefVarError).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant