-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathentry-nameability.baseline.json
More file actions
26 lines (26 loc) · 1.45 KB
/
Copy pathentry-nameability.baseline.json
File metadata and controls
26 lines (26 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"$comment": [
"Shrink-only ledger for `check:entry-nameability` (#11986). Each entry records a",
"(public entry, type name) pair that the entry-nameability invariant already",
"violates on `main` — a type structurally mentioned in the declaration emitted for",
"a consumer that CALLS one of that entry's exported functions, which cannot be",
"named through the package's `exports` map.",
"",
"HAND-EDITED, NEVER GENERATED, and deliberately so — the same reason",
"`dual-source-exports.baseline.json` is: a `gen:` that rewrote this file would let a",
"new leak be admitted by running a command instead of by a decision, which is the",
"whack-a-mole #11986 exists to end.",
"",
"SHRINK-ONLY IN BOTH DIRECTIONS. A name that appears and is not recorded here fails",
"the gate. A name recorded here that no longer leaks ALSO fails the gate, with an",
"instruction to delete the line: a ledger that keeps entries after they are repaired",
"stops describing the tree and starts covering for it.",
"",
"#12414 repaired the seven (entry, type) pairs this ledger was carrying — one",
"re-export line per name, on the leaking entry, from the module that declares",
"it — and deleted them here per the shrink-only rule above. `entries` is empty",
"on purpose: the class #11986 measured is closed, and a name that leaks again",
"fails the gate rather than landing pre-accommodated."
],
"entries": {}
}