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
This should be fixed in recent compilers. @NevinBR can you try with Xcode 11.5 beta 2 or a development snapshot at https://swift.org/download/#snapshots and confirm if this issue is fixed?
Environment
Swift 5.1.3
Xcode 11.3.1
MacOS 10.14.6
Additional Detail from JIRA
md5: 2f1f35b69d7ff155d7ed2e7ec91fe52c
Issue Description:
The following code crashes the compiler (specifically,
swift
andSourceKitService
both unexpectedly quit) in Xcode 11.3.1 running Swift 5.1.3:Note that commenting out the last line (the
foo()
function) will let the rest of the code compile successfully.The initializer call
S(1)
seems plausibly valid sinceInt
does conform toNumeric
.Furthermore, even if the type being initialized is fully specified as
S<E<Int>>(1)
, it will still crash the compiler.The text was updated successfully, but these errors were encountered: