回归: 专用的自加载会删除容器类型并抑制属性错误
作者: cmp0xff创建于 2026年9月10日更新于 2026年9月10日
Describe the bug Starting with Pyright 1.1.412, Container[Any].copy() becomes Any instead of Container[Any], losing the outer container type and suppressing the nonexistent-member error. Expected: preserve Container[Any] and report the invalid attribute, since every overload returns a container.
内容来源: microsoft/pyright