xamarin / binding-tools-for-swift

MIT License
157 stars 21 forks source link

fixed parser for variable initialization clause #794

Closed stephen-hawley closed 9 months ago

stephen-hawley commented 9 months ago

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.