Commit c36d5be
committed
Fix EvalTier narrowing and exclude the tier fixtures from typecheck
Merging this branch with main exposed two typecheck failures that the
branch alone could not show, because it never touches tsconfig.json and
PR #578 widened typecheck scope to tests/ and evals/ after this branch
was cut.
parseCaseJson narrowed raw.tier with a `tier as EvalTier` cast, which is
not a type guard, so it returned string where the EvalCase field is
EvalTier. Replaced with a real isEvalTier predicate.
The four tier-* sandbox fixtures now fall inside typecheck scope. They
have their own package.json and tier-hard is intentionally buggy, so
they join the existing eval-sandbox exclusions. crash-run and
plugins/implement-feature stay in scope deliberately — they import
production modules and #578 carved them out for that reason.
Also swept the exclusion entries for fixtures this branch deletes.1 parent 3e169a6 commit c36d5be
4 files changed
Lines changed: 10 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | 7 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
| |||
255 | 259 | | |
256 | 260 | | |
257 | 261 | | |
258 | | - | |
| 262 | + | |
259 | 263 | | |
260 | 264 | | |
261 | 265 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | 34 | | |
38 | | - | |
39 | | - | |
40 | 35 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | 36 | | |
45 | | - | |
46 | | - | |
47 | 37 | | |
48 | 38 | | |
49 | 39 | | |
50 | 40 | | |
51 | 41 | | |
52 | | - | |
53 | 42 | | |
54 | | - | |
55 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
56 | 47 | | |
57 | 48 | | |
58 | 49 | | |
0 commit comments