()
| 68 | } |
| 69 | |
| 70 | func (uv *upValue) close() { |
| 71 | if home, ok := uv.home.(stackLocation); ok { |
| 72 | uv.home = home.state.stack[home.index] |
| 73 | } else { |
| 74 | panic("attempt to close already-closed up value") |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | func (uv *upValue) isInStackAt(level int) bool { |
| 79 | if home, ok := uv.home.(stackLocation); ok { |
nothing calls this directly
no outgoing calls
no test coverage detected