Skip to content

fix(symbolserver): don't crash cache_methods on non-Function callables#107

Merged
pfitzseb merged 1 commit into
mainfrom
sp/fix-callable-parentmodule
Jul 2, 2026
Merged

fix(symbolserver): don't crash cache_methods on non-Function callables#107
pfitzseb merged 1 commit into
mainfrom
sp/fix-callable-parentmodule

Conversation

@pfitzseb

@pfitzseb pfitzseb commented Jul 2, 2026

Copy link
Copy Markdown
Member

parentmodule has no method for arbitrary callable objects (e.g. SymbolicUtils.BasicSymbolic hitting cache_new_methods! while indexing AbstractAlgebra), which killed the whole indexing run. Fall back to the type's module for the extends VarRef.

Fixes julia-vscode/SymbolServer.jl#319

parentmodule has no method for arbitrary callable objects (e.g.
SymbolicUtils.BasicSymbolic hitting cache_new_methods! while indexing
AbstractAlgebra), which killed the whole indexing run. Fall back to the
type's module for the extends VarRef.

Fixes julia-vscode/SymbolServer.jl#319

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@pfitzseb pfitzseb merged commit 6fd45ab into main Jul 2, 2026
19 checks passed
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.

SymbolServer crashes with MethodError when indexing AbstractAlgebra

1 participant