(defaultValue: T)
| 22 | let index = -1; |
| 23 | |
| 24 | function createCursor<T>(defaultValue: T): StackCursor<T> { |
| 25 | return { |
| 26 | current: defaultValue, |
| 27 | }; |
| 28 | } |
| 29 | |
| 30 | function pop<T>(cursor: StackCursor<T>, fiber: Fiber): void { |
| 31 | if (index < 0) { |
no outgoing calls
no test coverage detected