You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The intention here is pretty clear: The overload narrows a parameter to Literal[True], but the implementation has the actual default as False. Other type checkers don't treat this pattern as an error.
Describe the Bug
Minimal repro:
The intention here is pretty clear: The overload narrows a parameter to
Literal[True], but the implementation has the actual default asFalse. Other type checkers don't treat this pattern as an error.Sandbox Link
https://pyrefly.org/sandbox/?project=N4IgZglgNgpgziAXKOBDAdgEwEYHsAeAdAA4CeS4ATrgLYAEALqcROgOZ0Q3G6UN24AbjEpRcqTABo6AGQgMRqKAB10qgAJCRYiaswwwdYqkpwYAfQYm2MBgAp0qGhdzoopRLPmKoAbQAqlACuMAC6dAC8dIQxAJR0ALQAfHRwDJSeMYR0dADERqSUBu50AGIAChpaouKYegZGJmaW1rYOTi5uHnR4uFCR0XGJKWmUdAA%2BdFAQab6joZkx9YbGphZWlDb2js7mru6evf1RpUpm8cmp6RNTMwxz6QuqOTkQhjudB88vP0UMQZR0HRlCAPiDvjk-gCgb4QWCQNIQYIlCEQaEESAyEUwO5CAxaFAKPlyoViqRUhgcAQ6ABjVyQNgA1AMCCuQiqfIAZRgMDoAAsGAxiHBEAB6UVYsmEXhsUUwdCizC4GlwUV09AMpks1yiuhgXh0VDI6CobCwWn0iCMyjM1lA3DEbXoODs9BkBh81wJYSmO0DEEAZkIAEYAEzg9C%2BETUUyhVRBdBcHh8GCYBKYCBFGks4QDADkVvQvBgedURYYCSKAEcgpnUwkANYwUgJVA0mnwOD5gDuJnQpfQIAAvpIQG2czBStAYBQ0Fg8EQyMOgA
(Only applicable for extension issues) IDE Information
No response