Bill Schnurr
Bill Schnurr
This issue has been fixed in version 2022.8.21, which we've just released. You can find the changelog here: [CHANGELOG.md](https://github.com/microsoft/pylance-release/blob/main/CHANGELOG.md#2022821-10-august-2022-prerelease)
Are you using open folder or open file mode? after editing the file does it fix itself?
same behaviour in open folder?
Sorry, I mean VSCode->File->Open Folder would also like to know what you have set in `python.analysis.diagnosticMode` and logs see https://github.com/microsoft/pylance-release/blob/main/TROUBLESHOOTING.md#filing-an-issue
this is a issue with the onnx library. there are no type stubs provided with the onnx library.
Please create an issue in the onnx repo
PyCharm might be executing the code, where as we are a static type checking language server.
I'm see this... can you provide an example of what you expect? ```python def new_func(): return 5 @staticmethod(new_func()) def a(): pass ``` do you expect to see a new variable...
so you get `new_func()` but not the definition `def new_func(): pass` ?
what platform? i can't seem to repo the issue. i thought there might be a problem when its the first line of code in a file but it seems to...