A deviation from expected or documented behavior. Also: expected but undesirable behavior.
The Swift compiler in itself
You can’t perform that action at this time.
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.
Additional Detail from JIRA
The following code crashes the compiler (specifically,
SourceKitServiceboth 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 since
Intdoes conform to
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: