#4600·ty

Divergent type when an unannotated container references its items

Author: hamdanalCreated Sep 25, 2026Updated Sep 30, 2026
Labelsbugtype-inferencecycles

Summary

ty infers list[Divergent] for d:

python
d = ["this"]
d[0] = d[0]

Playground

Version

ty 0.0.84