Files
Alexandre Podlewski d2e3d8bc4f Feature/typed throws support (#1401)
* Update Swift Syntax dependency

* Replace deprecated use of `throwsSpecifier` with `throwsClause.throwsSpecifier`

* Add support to typed throws for Method

* Add support to typed throws for Variables

* Add support to typed throws for Subscript

* Add support to typed throws for Closure

* Update AutoMokable stencil to support typed throws

* Consider throws(Never) as non throwing

* Add a flag on Method to know if the thrown error is a generic type

* Safely handle unsupported generic typed throws in AutoMockable template

* Test AutoMockable support for typed throws in inits

* Add missing code for Linux

* Prevent sourcery crash when running tests on Linux

* Fix Linux tests by removing nested types from tests as it cause a crash

This Linux crash is due to the encoding/decoding operation done with NSArchiver in Sourcery.swift (where requiresFileParserCopy is used)
This crash is due to an infinite loop while decoding nested Type because of a cycle between Type and itself (containedTypes / parent), also Type and Typealias have the same issue

* update internal boilerplate code.
2025-02-18 17:00:51 +01:00
..