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
swift-ci opened this issue
Mar 8, 2018
· 3 comments
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfcrashBug: A crash, i.e., an abnormal termination of software
Thanks @belkadan! Nice to see the error message fixed.
Please redirect me, if this is the wrong place to ask this...
I was actually assuming that the code shouldn't produce an error at all ^^
What mechanism is there then to constrain `S.G2` to be of type `C`, while still keeping `C.A1` generic?
Perhaps this isn't possible, because the generic `G2` can't only be partially specified? And if so... Is it desired not to allow this, or is this a current limitation of generics?
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfcrashBug: A crash, i.e., an abnormal termination of software
Environment
XCode Version 9.2 (9C40b)
in a standard command-line project
on a 2017 MacBook Pro
High Sierra Version 10.13.3 (17D102).
Additional Detail from JIRA
md5: 438c31914626374ed2849a24c550f4b2
Issue Description:
The code below causes the compiler to emit the following:
Code:
The text was updated successfully, but these errors were encountered: