Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible method call error when extending functions of renamed modules #1292

Open
lassepe opened this issue May 28, 2024 · 0 comments
Open

Comments

@lassepe
Copy link

lassepe commented May 28, 2024

Recent Julia versions support the renamed import syntax using Foo: Foo as Bar. Say Foo has the function baz. If I extend that function after the renamed import, i.e.

function Bar.baz()
#...
end

the function definition gets flagged as "Possible method call error". That is, the language server seems to interpret this as a function call, not a definition of a new function.

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

No branches or pull requests

1 participant