Commit 8ba3bb5
Apply Runic: drop stray trailing comma in 1-arg anonymous tuples (#3440)
Runic on v7 (7d76855) flagged two files that still had `(x,) -> ...`
one-arg anonymous-function syntax where Runic wants `(x) -> ...`:
lib/DelayDiffEq/src/functionwrapper.jl
($(args_wo_h...),) → ($(args_wo_h...))
($(args_wo_h[2:end]...),) → ($(args_wo_h[2:end]...))
lib/DiffEqBase/test/downstream/callback_detection.jl
affect1 = (integ,) -> ... → affect1 = (integ) -> ...
affect2 = (integ,) -> ... → affect2 = (integ) -> ...
The `...`/`$(args...)` splats are single-value in the first file's cases,
matching the test file's literal one-arg form; no semantic change.
Co-authored-by: ChrisRackauckas-Claude <accounts@chrisrackauckas.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 18f7c61 commit 8ba3bb5
File tree
2 files changed
+4
-4
lines changed- lib
- DelayDiffEq/src
- DiffEqBase/test/downstream
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
| 45 | + | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
0 commit comments