Commit caeef6b
authored
Generate concurrency-safe code in test bundle (#1274)
With the new concurrency features in Swift 6, there are also a set of
checks that ensure that the code is safe to run concurrently. Public
static mutable variables are considered unsafe unless they are
specifically of a type that conforms to `Sendable`. This patch changes
the test bundle generation to use `let` instead of `var` in the case of
`public static` properties.1 parent 1a01b54 commit caeef6b
File tree
1 file changed
+1
-1
lines changed- bin/make-test-bundle/Sources/make-test-bundle/Node
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments