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
If an extension is marked with an access level attribute and has the @_spi attribute, the NoAccessLevelOnExtensionDeclaration rule should move both attributes to each declaration in the extension.
func testExtensionWithSpiAttribute(){assertFormatting(NoAccessLevelOnExtensionDeclaration.self,
input:""" @_spi(Something) public extension Foo { var bar: String { "" } }""",
expected:""" extension Foo { @_spi(Something) public var bar: String { "" } }""",
findings:[// TODO: Add findings])}
If an extension is marked with an access level attribute and has the
@_spi
attribute, theNoAccessLevelOnExtensionDeclaration
rule should move both attributes to each declaration in the extension.Originated from: apple/swift-syntax#2602 (comment)
The text was updated successfully, but these errors were encountered: