If you declare a @frozen struct that has var declarations with initialization clauses, the swift compiler will put the initializer into the .swiftinterface file.
Changed the variable_declaration_tail clause to handle an initializer.
Changed the HasSetter predicate
Added a unit test
All tests pass.
If you declare a
@frozen struct
that hasvar
declarations with initialization clauses, the swift compiler will put the initializer into the.swiftinterface
file. Changed thevariable_declaration_tail
clause to handle an initializer. Changed theHasSetter
predicate Added a unit test All tests pass.