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 {
|
||||
static let typeErasure = """
|
||||
class \(typeErasureClassName){{ container.genericParameters }}: {{ container.name }} {
|
||||
{{ container.accessibility }} class \(typeErasureClassName){{ container.genericParameters }}: {{ container.name }} {
|
||||
private let reference: Any
|
||||
|
||||
{% 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) {
|
||||
}
|
||||
}
|
||||
|
||||
public protocol PublicoProtocolo {
|
||||
associatedtype InternaloTypo
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue