-
Notifications
You must be signed in to change notification settings - Fork 310
TypeVar bound to type[X] resolves as object #3066
Copy link
Copy link
Labels
language-serverIssues specific to our IDE integration rather than type checkingIssues specific to our IDE integration rather than type checkingtypecheckingusabilityUsability & readiness issues identified with running Pyrefly on top OSS projectsUsability & readiness issues identified with running Pyrefly on top OSS projects
Metadata
Metadata
Assignees
Labels
language-serverIssues specific to our IDE integration rather than type checkingIssues specific to our IDE integration rather than type checkingtypecheckingusabilityUsability & readiness issues identified with running Pyrefly on top OSS projectsUsability & readiness issues identified with running Pyrefly on top OSS projects
Type
Fields
Give feedbackNo fields configured for Bug.
Describe the Bug
Minimal repro:
No other type checker emits error on this.
Sandbox Link
https://pyrefly.org/sandbox/?project=N4IgZglgNgpgziAXKOBDAdgEwEYHsAeAdAA4CeS4ATrgLYAEALqcROgOZ0Q3G6UN0AVZjABqqSgB10UgMZRUcOHQDKACxhQoAYVrFYDGIil0TddKhqG6cBpToBeOhJDYFMZ1KkCHg4WMoAFM4CzgA0dHgArlj2TMQwANpqGtq6%2BjAAugCUUpgwYHSomJgA%2BjJpMAwQuOhl8ooBcnCIguHy2BotNnYAPnQAcjUwPoPoMFl0ALQAfIJG6KacBe0anEqjhsaLpitQPk2E5pYmAMR0ZJT5UKQtuNgAVjAy-KoKZriFDLYQ2JEGdAADI4wAFbEyXBiRSgLJogUIgP7QOAkciIEBnACqVSgECYdDA0We1XQcE8WHy%2BN4NFQDBK6EiNA6gXwLVYDAmM2stnmiwhUIWYGc-QZTJawHwAF8POg4SALldSIQGLQoBQzgAFUiXMDXawYHAEOjldCQNhQmnEwhSM7KGDDVRfYjNAD0zvlOsVvDYzpg6GdmFwMjgzuNpvNVRqzspdlQADdUNBUNhYEaamHKBaanRcMQIySregyAxVDVJrGYJQ4MSfM4AMyEACMACZpSAJfDUETywAxaAwChoLB4IhkNtAA
(Only applicable for extension issues) IDE Information
No response