MCPcopy Create free account
hub / github.com/yuin/gopher-lua / closeAllUpvalues

Method closeAllUpvalues

state.go:727–733  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

725}
726
727func (ls *LState) closeAllUpvalues() { // +inline-start
728 for cf := ls.currentFrame; cf != nil; cf = cf.Parent {
729 if !cf.Fn.IsG {
730 ls.closeUpvalues(cf.LocalBase)
731 }
732 }
733} // +inline-end
734
735func (ls *LState) raiseError(level int, format string, args ...interface{}) {
736 if !ls.hasErrorFunc {

Callers 2

raiseErrorMethod · 0.95
ErrorMethod · 0.95

Calls 1

closeUpvaluesMethod · 0.95

Tested by

no test coverage detected