-
-
Notifications
You must be signed in to change notification settings - Fork 617
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Closure Parameter CVarArg with Existential (#1305)
* Fixed compilation issue for closures with existential arguments * Added index to MethodParameter * Automatically assign argument name in case it is empty * Add an additional closing parenthesis in case type is a closure with multiple arguments * Disabled implicitly unwrapped optional for return type of a closure * Disabled CVarArg for tuple type * Added new sample for AutoMockable contexts * Updated expected and generated * Support for var arg and "any" keyword * Updated expected and generated code * Updated contexts for AutoMockable * Squashed commit of the following: commit 55da8ed Author: art-divin <art-divin@users.noreply.github.com> Date: Tue Mar 19 15:05:06 2024 +0000 Update Docs commit a8a314d Author: Ruslan Alikhamov <r.alikhamov@gmail.com> Date: Tue Mar 19 18:55:42 2024 +0400 Make AutoMockable Generate Compilable Swift Code (#1304) * Fixed compilation issue for closures with existential arguments * Added index to MethodParameter * Automatically assign argument name in case it is empty * Add an additional closing parenthesis in case type is a closure with multiple arguments * Disabled implicitly unwrapped optional for return type of a closure * Disabled CVarArg for tuple type * Added new sample for AutoMockable contexts * Updated expected and generated * Support for var arg and "any" keyword * Updated expected and generated code * Updated contexts for AutoMockable
- Loading branch information
Showing
5 changed files
with
173 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters