(ctx: ReadContext, read: () => t)
| 456 | } |
| 457 | |
| 458 | const withShallowPredicate = <t>(ctx: ReadContext, read: () => t): t => { |
| 459 | ctx.inPredicate++ |
| 460 | try { |
| 461 | return read() |
| 462 | } finally { |
| 463 | ctx.inPredicate-- |
| 464 | } |
| 465 | } |
| 466 | |
| 467 | const withChildValue = <t>(ctx: ReadContext, read: () => t): t => { |
| 468 | const prevShallowRefPredDepth = ctx.shallowRefPredDepth |
no test coverage detected