github krzysztofzablocki/Sourcery 0.5.4

latest releases: 2.2.5, 2.2.4, 2.2.3...
7 years ago

New Features

  • Added inline code generation
  • Added isClosure property to TypeName to detect closure types

Bug Fixes

  • Fixed parsing of associated values separater by newlines
  • Fixed preserving order of inherited types
  • Improved support for throwing methods in protocols
  • Fixed extracting parameters of methods with closures in their bodies
  • Fixed extracting method return types of tuple types
  • Improved support for typealises as tuple elements types
  • Method parameters with _ argument label will now have nil in argumentLabel property
  • Improved support for generic methods

Internal changes

  • adjusted internal templates and updated generated code
  • moved methods parsing related tests in a separate spec

Don't miss a new Sourcery release

NewReleases is sending notifications on new releases.