VSCode warns about "possible method call error" in function definition

Here’s the screenshot. When the mouse hovers over the wiggly blue line, I see “Possible method call error. No quick fix available.” Has anyone encountered something like this?

1 Like

I am not 100% sure, but I believe I get this warning ALL THE TIME and quickly learnt to ignore it.

2 Likes

You can disable this particular lint message (without disabling other helpful messages) by setting julia.lint.call to false in VS Code settings. (Ctrl-Shift-P → Settings → type or paste julia.lint.call into the search box → Uncheck the setting.)

False warnings with this message have been a longstanding issue, and some people have reported that it’s gotten even more frequent with the recent Julia versions. For now, the only workaround seems to be to disable this particular lint.

7 Likes