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
I'm pretty sure type lookup just doesn't respect constraints at all. (@slavapestov, this is why I get so surprised when people do clever things with constrained extensions—some of them don't work.)
Jens, I don't think we need two bugs for this; can we dup this to SR-5440?
Yeah, we don't check constraints in all the places we should. Let's dupe this and once we fix it we can verify that all examples in the dupes are fixed.
Environment
Xcode 10.2, macOS 10.14.4
Additional Detail from JIRA
md5: 6de39a7eeffdab4b0289c4abdfc194a9
relates to:
Issue Description:
The following (AFAICS invalid) program still compiles with Swift 5 / Xcode 10.2 and the latest dev snapshot (2019-04-10):
Doesn't this imply/require Int == Never?
More details here:
https://forums.swift.org/t/22995
The text was updated successfully, but these errors were encountered: