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
I have tried this using the soucery command line or the Sourcery Pro app (version 1.3.4) and I am getting the same result. Below is my current configuration
Sourcery Version
❯ sourcery --version
1.6.0
Sample Code
classID:ExpressibleByStringLiteral{letvalue:Stringrequiredinit(stringLiteral value:StringLiteralType){self.value = value
}}enumModule{typealiasModel=ModuleModel}// sourcery: AutoStubstructModuleModel{classModelID:ID{}// sourcery: AutoStubstructElement{letid:ModuleModel.ModelIDletidUsingTypealias:Module.Model.ModelID}}
Stencil
{% for type in types.types|!enum where type.implements.AutoStub or type|annotated:"AutoStub" %}
{% for variable in type.storedVariables %}
{{ variable.name }} // {{ variable.type.based.ExpressibleByStringLiteral }}
{% endfor %}
{% endfor %}
Actual Generated Code
id // ExpressibleByStringLiteral
idUsingTypealias //
Expected Generated Code
id // ExpressibleByStringLiteral
idUsingTypealias // ExpressibleByStringLiteral
The text was updated successfully, but these errors were encountered:
Context
I have tried this using the soucery command line or the Sourcery Pro app (version 1.3.4) and I am getting the same result. Below is my current configuration
Sourcery Version
Sample Code
Stencil
Actual Generated Code
Expected Generated Code
The text was updated successfully, but these errors were encountered: