Skip to content

Commit

Permalink
The NSShadow convenience init extension now has default access level
Browse files Browse the repository at this point in the history
  • Loading branch information
dabbott committed Oct 14, 2018
1 parent 6c2f1f4 commit ef271ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compiler/core/src/swift/swiftShadow.re
Expand Up @@ -170,7 +170,7 @@ let render =
"name": "NSShadow",
"protocols": [],
"where": None,
"modifier": Some(PrivateModifier),
"modifier": None,
"body": [Doc.convenienceInit(swiftOptions)],
}),
]
Expand Down
2 changes: 1 addition & 1 deletion examples/generated/test/appkit/Shadows.swift
Expand Up @@ -6,7 +6,7 @@ public enum Shadows {
public static let elevation3 = NSShadow(color: Colors.grey900, offset: NSSize(width: 0, height: -3), blur: 9)
}

private extension NSShadow {
extension NSShadow {
convenience init(color: NSColor, offset: NSSize, blur: CGFloat) {
self.init()

Expand Down

0 comments on commit ef271ca

Please sign in to comment.