Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Shopify/go-lua
/ CloseMainFunction
Method
CloseMainFunction
code.go:1149–1154 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1147
}
1148
1149
func
(f *function) CloseMainFunction() *function {
1150
f.ReturnNone()
1151
f.LeaveBlock()
1152
f.assert(f.block == nil)
1153
return
f.previous
1154
}
Callers
1
mainFunction
Method · 0.80
Calls
3
ReturnNone
Method · 0.95
LeaveBlock
Method · 0.95
assert
Method · 0.95
Tested by
no test coverage detected