Commit d6b70f9
authored
🍒 [6.1.2] Fully-qualify reference to Swift's
- **Explanation**: This fixes a compilation error in code expanded from
the `@Test` macro when it's attached to a synchronous (i.e. non-`async`)
test function in a context where there is a concrete type named `Actor`.
- **Scope**: Affects tests in code which also has a custom type named
`Actor`.
- **Issues**: n/a
- **Original PRs**: #1067
- **Risk**: Low
- **Testing**: Modified tests to detect this.
- **Reviewers**: @grynspanActor protocol in macro expansion code for synchronous test functions (#1072)1 parent 914c403 commit d6b70f9
File tree
2 files changed
+6
-1
lines changed- Sources/TestingMacros
- Tests/TestingTests
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
336 | | - | |
| 336 | + | |
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
140 | 145 | | |
141 | 146 | | |
142 | 147 | | |
| |||
0 commit comments