WhiteMemory99 / Intellij-Python-Inlay-Params

A PyCharm plugin that implements inlay parameter and type annotation hints for Python.
https://plugins.jetbrains.com/plugin/19538
MIT License
36 stars 6 forks source link

Limit recursion when resolve PyUnionType #10

Open divaltor opened 2 years ago

divaltor commented 2 years ago

Sometimes we get unexpected error when overflow recursion limit, need to research and catch this error

LucHayward commented 2 years ago

I think the error I'm seeing relates to this. It doens't seem to actually cause any issues its just annoying to constantly be notified. See the attached stack trace

divaltor commented 2 years ago

I think the error I'm seeing relates to this. It doens't seem to actually cause any issues its just annoying to constantly be notified. See the attached stack trace

Thank you for provided logs. Can you also provide where you've found this issue (library or from your codebase)?

We'll try to fix this problem in the next release

WhiteMemory99 commented 2 years ago

I think the error I'm seeing relates to this. It doens't seem to actually cause any issues its just annoying to constantly be notified. See the attached stack trace

Thanks for your bug report. It would be very helpful if you're able to provide a code sample / more details on what code causes this exception, since this issue is awfully hard to locate and properly test.