MCPcopy Index your code
hub / github.com/Shopify/go-lua / currentLine

Method currentLine

debug.go:16–18  ·  view source on GitHub ↗
(ci *callInfo)

Source from the content-addressed store, hash-verified

14 return l.stack[ci.function].(*luaClosure).prototype
15}
16func (l *State) currentLine(ci *callInfo) int {
17 return int(l.prototype(ci).lineInfo[ci.savedPC - 1])
18}
19
20func chunkID(source string) string {
21 switch source[0] {

Callers 2

runtimeErrorMethod · 0.95
InfoFunction · 0.80

Calls 1

prototypeMethod · 0.95

Tested by

no test coverage detected