Commit 6c459f2
authored
Work around a diagnostic using
`CommandLine.arguments` is declared read/write in older toolchains and this
causes an error diagnostic when it's used in Swift 6 mode. This PR uses
`CommandLine.argc` and `CommandLine.unsafeArgv` directly instead so the
diagnostic does not occur.CommandLine.arguments on older toolchains. (#2622)1 parent 94e1cc9 commit 6c459f2
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
96 | 101 | | |
97 | 102 | | |
98 | 103 | | |
| |||
0 commit comments