Commit c889773
test(meta): filter LoweredCodeUtils' benign JET-scan warnings
JET.test_package collects method signatures via Revise/LoweredCodeUtils
without calling anything. For keyword-argument functor methods, Julia
compiles a hidden var"#_#N" body function that LoweredCodeUtils cannot
statically attribute to its parent method, so it emits a "skipping callee
... UndefRefError()" warning before moving on and continuing the scan
unaffected (10 such warnings from HamiltonianVectorField's variable_costate
kwarg methods). It is a collector limitation, not a JET finding.
Wraps the JET testset in a logger that filters that specific message
(prefix + emitting module), so any other warning from LoweredCodeUtils
still surfaces normally. Logging added to the test target (a stdlib, but
CTBase's strict Pkg.test sandbox needs it declared explicitly, same as the
existing Markdown/Test entries).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent 5a75658 commit c889773
2 files changed
Lines changed: 55 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
| |||
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
| 67 | + | |
65 | 68 | | |
66 | 69 | | |
67 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
11 | 58 | | |
12 | 59 | | |
13 | 60 | | |
| |||
23 | 70 | | |
24 | 71 | | |
25 | 72 | | |
26 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
27 | 78 | | |
28 | 79 | | |
29 | 80 | | |
| |||
0 commit comments