()
| 4027 | // `compile_single_def` produces for a non-mutual Lean Defn. |
| 4028 | // |
| 4029 | // Inductives are never unwrapped — their projection scheme requires |
| 4030 | // the block. |
| 4031 | if ixon_mutuals.len() == 1 |
| 4032 | && !matches!(&ixon_mutuals[0], IxonMutConst::Indc(_)) |
| 4033 | { |
| 4034 | let single = ixon_mutuals.pop().unwrap(); |
| 4035 | let result = match single { |
| 4036 | IxonMutConst::Defn(def) => apply_sharing_to_definition_with_stats( |
| 4037 | def, |
| 4038 | refs, |
| 4039 | univs, |
| 4040 | Some(&name_str), |
| 4041 | ), |
| 4042 | IxonMutConst::Recr(rec) => { |
| 4043 | apply_sharing_to_recursor_with_stats(rec, refs, univs) |
| 4044 | }, |
| 4045 | IxonMutConst::Indc(_) => unreachable!(), |
| 4046 | }; |
| 4047 | let standalone_constant = result.constant; |
nothing calls this directly
no test coverage detected