Commit 0fc63f6
Treat Evolutionary.trace! override as real piracy (mark test broken)
The Evolutionary.trace! override dispatches Evolutionary's own function on
Evolutionary.AbstractOptimizer, changing Evolutionary's tracing globally — that
is genuine type piracy, not a SciML-interface extension, so it shouldn't be
suppressed via treat_as_own. Keep treat_as_own for the actual SciML trait
methods and mark the piracy test `broken = true` so the trace! piracy is tracked
rather than hidden. It should be replaced with a non-pirating callback hook.
Verified with Aqua.test_piracies: recorded as Broken (not Fail/Error).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent ee23c7f commit 0fc63f6
1 file changed
Lines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
12 | 9 | | |
13 | 10 | | |
14 | 11 | | |
15 | 12 | | |
| 13 | + | |
16 | 14 | | |
17 | 15 | | |
18 | 16 | | |
| |||
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
26 | | - | |
27 | 24 | | |
28 | 25 | | |
29 | 26 | | |
| |||
0 commit comments