-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
type mismatch: base parameter is type "Any", override parameter is type "Any" #6
Comments
I can't reproduce this with your code. No matter it's a saved file or a buffer (from Tools > Developer > New Plugin). Though I don't think this issue comes from here. Not the cause, but it should be |
Tested on a clean portable Sublime Text (installed only LSP and LSP-pyright packages) - got the same error. I know that it should be |
Not reproduce-able. demo_x264.mp4 |
Sorry, I forgot to mention the setting |
Yes, that's the reason. But I have no idea how to fix that unfortunately since class TextCommand(Command):
run: Callable[..., None] If someone comes up a solution, I am definitely welcome. Just open a pull request 😄 |
When creating a new plugin with a text command and adding a type annotation to
run()
method, an error appears in the Diagnostics panel:code:
LSP-pyright 1.1.136
The text was updated successfully, but these errors were encountered: