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 bottom two lines should be essentially the same to Sema but aren't in practice. If you look closely at the diagnostics output and debug constraints of the former, then you'll see that "Float" is inferred into the wrong position, which seems very wrong. Specifically:
Additional Detail from JIRA
md5: e36e5f9935917b445f49367065ced788
Issue Description:
The bottom two lines should be essentially the same to Sema but aren't in practice. If you look closely at the diagnostics output and debug constraints of the former, then you'll see that "Float" is inferred into the wrong position, which seems very wrong. Specifically:
unresolved_specialize_expr type='MyType<Float, $T2>.Type' location=/tmp/g.swift:10:53 range=[/tmp/g.swift:10:38 - line:10:59]
If the test looks familiar it is because it is derived from the bottom of test/decl/typealias/protocol.swift:
The text was updated successfully, but these errors were encountered: