Current logical binding depth. During the FVar transition, some code pushes legacy de-Bruijn locals into `ctx` while newer code opens binders into `lctx`. Most paths use one or the other, but mixed validation code can observe both; the logical depth is the sum of the two stacks.
(&self)
| 332 | /// the other, but mixed validation code can observe both; the logical depth |
| 333 | /// is the sum of the two stacks. |
| 334 | pub fn depth(&self) -> u64 { |
| 335 | (self.ctx.len() + self.lctx.len()) as u64 |
| 336 | } |
| 337 | |
| 338 | /// WHNF cache key: (expr_hash, ctx_hash). |
| 339 | /// |
no test coverage detected