Insanity v0.5.2 Release Notes
-
๐ New Features
- โ Added support for
ImplicitlyUnwrappedOptional
actualTypeName
property ofMethod.Parameter
,Variable
,Enum.Case.AssociatedValue
,TupleType.Element
now returnstypeName
if type is not a type aliasEnum
now contains type information for its raw value type.rawType
now returnType
object,rawTypeName
returns itsTypeName
- โ Added
annotated
filter to filter by annotations - โ Added negative filters counterparts
- โ Added support for attributes, i.e.
@escaping
๐ Experimental support for Swift Templates
๐ Swift Templates are now supported
<% for type in types.classes { %> extension <%= type.name %>: Equatable {} <% if type.annotations["showComment"] != nil { %> // <%= type.name %> has Annotations <% } %> func == (lhs: <%= type.name %>, rhs: <%= type.name %>) -> Bool { <% for variable in type.variables { %> if lhs.<%= variable.name %> != rhs.<%= variable.name %> { return false } <% } %> return true } <% } %>
- โ Added support for