Closed corbane closed 8 months ago
Hello,
Since I had some time today, I worked on this. I needed to adapt the autogenerator. It went smoothly, so I updated the stubs in this commit
You will need to build from source: see https://pthom.github.io/imgui_bundle/#_build_and_install_instructions
Ha! Great!
Where is the autogenerator located in the repository?
found: https://github.com/pthom/srcmlcpp/commit/01ebe2a8e93883710f9f73710855c2a7dd013c78
Yes, the generator is indeed there. It is a big piece of software, which I did not take to document yet
Hello,
At the beginning of the year, I had not noticed this problem, but today when opening an imgui_bundle project in VSCode (configured with Python by default: Pylance), I get errors with overloaded functions:
Reading PEP 484 from python 3.5: https://peps.python.org/pep-0484/#function-method-overloading I reformatted some
.pyi
files with the@overload
decorator:The solution was given to me by this link which concerns PyCharm and Typeshed. It therefore seems that this error is not specific to Pylance but an error in respecting PEP 484.
Is it possible in future versions to add the
@overload
operators? merci