Open rscarrera27 opened 4 years ago
As someone who uses PyCharm and was looking into options for ADTs in Python - I'm not surprised it causes issues with PyCharm's intellisense, and I doubt there will be anything that can really be done about it. I'd love to be proven wrong, but in general it's not possible for metaprogramming to be followed without actually running the code, which IDEs can't be expected to do!
My Code:
Pycharm said "Case object is not callable" for this line.
also intellisense doesn't work for completing
self.match
I understand that this is architectural issue. to make pycharm intellisense work, I think we have to use base class, not use decorator.
this is just a suggestion. your lib works perfectly on runtime :)