[SR-7584] Seemingly incorrect "Constant 'self.X' captured before being initialized" compiler error in struct initializer #50126
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
definite initialization
Environment
Xcode 9.3
Additional Detail from JIRA
md5: 60d14ae5dbd4b9021601b3eb3efd7a0d
duplicates:
Issue Description:
I encountered this strange error with Swift 4.1.
Note that the line it chokes on is identical to the line in the preceding constructor, all that is different is the source of one of the sets. Individually the sets can be used, only when together in an expression is it a problem. Bizarre.
The text was updated successfully, but these errors were encountered: