Skip to content

Conversation

dfed
Copy link
Owner

@dfed dfed commented Jun 29, 2025

#164 introduced an issue where a fixit to add new parameters to an initializer would repeat any closure parameters in the list. This PR addresses that issue.

@dfed dfed self-assigned this Jun 29, 2025
@@ -756,7 +756,7 @@ import Testing
public init(closure: @escaping @Sendable () -> Void) {
self.closure = closure
}
@Forwarded let closure: (() -> Void)
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

found a bug while simplifying this code!

Copy link

codecov bot commented Jun 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.92%. Comparing base (73a4d7b) to head (665cbdb).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #169      +/-   ##
==========================================
- Coverage   99.92%   99.92%   -0.01%     
==========================================
  Files          32       32              
  Lines        3763     3757       -6     
==========================================
- Hits         3760     3754       -6     
  Misses          3        3              
Files with missing lines Coverage Δ
Sources/SafeDICore/Models/Initializer.swift 100.00% <100.00%> (ø)
Sources/SafeDICore/Models/TypeDescription.swift 99.58% <100.00%> (+0.02%) ⬆️
...ources/SafeDIMacros/Macros/InstantiableMacro.swift 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dfed dfed marked this pull request as ready for review June 29, 2025 17:58
@dfed dfed merged commit 13f5cd1 into main Jun 29, 2025
20 checks passed
@dfed dfed deleted the dfed--escaping branch June 29, 2025 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant