Extract head constant KId from expression or app spine.
(e: &KExpr<M>)
| 1641 | |
| 1642 | fn dump_eta_trace( |
| 1643 | &self, |
| 1644 | reason: &str, |
| 1645 | id: Option<&KId<M>>, |
| 1646 | idx: usize, |
| 1647 | a: &KExpr<M>, |
| 1648 | b: &KExpr<M>, |
| 1649 | ) { |
| 1650 | let Some(filter) = IX_ETA_TRACE.as_ref() else { |
| 1651 | return; |
| 1652 | }; |
| 1653 | if !self.debug_label_matches_env() { |
| 1654 | return; |
| 1655 | } |
| 1656 | let id_s = id.map_or_else(|| "<none>".into(), |id| id.to_string()); |
| 1657 | if !filter.is_empty() && !id_s.contains(filter) { |
| 1658 | return; |
no test coverage detected