[SR-3003] Error for non-public implicit initializer is bogus #45593
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
Environment
Xcode 8.1 beta (tested with latest snapshot and with Swift 3.0.1 beta)
Additional Detail from JIRA
md5: 0db8051b4b4fb384f27f60a144ca4179
Issue Description:
I am trying to add an OptionSet to a framework. It needs to be public. This doesn't seem to be possible.
gives the error
and actually wants to insert another `public` after the `struct` keyword...
Removing `public` from the struct's definition compiles again, but then again I can't use the struct.
The text was updated successfully, but these errors were encountered: