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
{{ message }}
Repository navigation
Union type of two concrete modules is ModuleType #22302
I assumed this was just join v union but surprisingly we do take the union here, if you substitute mod = 5 if flag else "5" mod has the type str | int!
Activity
A5rocks commentedon Oct 27, 2026
I assumed this was just join v union but surprisingly we do take the union here, if you substitute
mod = 5 if flag else "5"mod has the typestr | int!flying-sheep commentedon Oct 27, 2026
That doesn’t surprise me at all, I don’t think anything else makes sense.