Summary
ty crashes when checking this code:
ty.toml
[rules]
missing-override-decorator = 'error'
c.py
class C:
@property
def p(self):
pass
d.py
from c import C
class D(C):
@C.p.setter
def p(self, x):
pass
error[panic]: Panicked at crates/ty_python_semantic/src/types/function.rs:397:18 when checking `/home/user/d.py`: `AST indices should never change within the same revision`
https://play.ty.dev/7f3886cf-f236-4d5f-99d9-bce6d496860b
--> The playground reports the crash when I modify ty.toml and then switch back to d.py
Version
ty 0.0.43
Summary
ty crashes when checking this code:
ty.toml
c.py
d.py
https://play.ty.dev/7f3886cf-f236-4d5f-99d9-bce6d496860b
--> The playground reports the crash when I modify
ty.tomland then switch back tod.pyVersion
ty 0.0.43