(
&mut self,
e: &KExpr<M>,
depth: u16,
)
| 1178 | continue; |
| 1179 | } |
| 1180 | |
| 1181 | // Native/string primitives must run before projection-definition |
| 1182 | // rewriting. In the compiled environment, wrappers such as |
| 1183 | // `Subtype.val` and `String.toByteArray` are projection definitions; |
| 1184 | // once rewritten to `Prj`, the cheap primitive recognizers no longer |
| 1185 | // see the original head. |
| 1186 | if family == PrimFamily::Native |
| 1187 | && let Some(reduced) = self.try_reduce_native(&cur)? |
| 1188 | { |
| 1189 | cur = reduced; |
| 1190 | continue; |
| 1191 | } |
| 1192 | |
| 1193 | // String literal primitives. |
no test coverage detected