Commit 15f93e2
Remove the
Summary: `FrozenDef` is a leftover `'static` spelling from the heap-brand migration: the freeze machinery already carries defs as branded `ValueTyped<'fv, Def<'fv>>`, and the alias survives only as a name for two call sites. Spell those directly instead and delete it: the frozen-def registration check compares `TypeId`s through `AnyLifetime::static_type_id`, which never names a `'static` instantiation; the bytecode golden test downcasts through `Def` and lets the owned carrier fix the brand.
Reviewed By: JakobDegen
Differential Revision: D119373674
fbshipit-source-id: 249979d353eda27d47a644c1bc1406428f72b67dFrozenDef alias1 parent c36ea2f commit 15f93e2
3 files changed
Lines changed: 6 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
721 | 721 | | |
722 | 722 | | |
723 | 723 | | |
724 | | - | |
725 | | - | |
726 | 724 | | |
727 | 725 | | |
728 | 726 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
23 | | - | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | | - | |
78 | | - | |
| 76 | + | |
| 77 | + | |
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
| |||
0 commit comments