Copy protocol's accessibility to the implementation caller class.
This commit is contained in:
parent
86432954a9
commit
e405dbfe0a
|
@ -9,7 +9,7 @@ import Foundation
|
||||||
|
|
||||||
extension Templates {
|
extension Templates {
|
||||||
static let typeErasure = """
|
static let typeErasure = """
|
||||||
class \(typeErasureClassName){{ container.genericParameters }}: {{ container.name }} {
|
{{ container.accessibility }} class \(typeErasureClassName){{ container.genericParameters }}: {{ container.name }} {
|
||||||
private let reference: Any
|
private let reference: Any
|
||||||
|
|
||||||
{% for property in container.properties %}private let _getter_storage$${{ property.name }}: () -> {{ property.type }}{% if not property.isReadOnly %}
|
{% for property in container.properties %}private let _getter_storage$${{ property.name }}: () -> {{ property.type }}{% if not property.isReadOnly %}
|
||||||
|
|
|
@ -83,3 +83,7 @@ class OnlyLabelClass: OnlyLabelProtocol {
|
||||||
func double(here notInHere: Bool) {
|
func double(here notInHere: Bool) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public protocol PublicoProtocolo {
|
||||||
|
associatedtype InternaloTypo
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue