(gfunc LGFunction, env *LTable, nupvalue int)
| 164 | } |
| 165 | |
| 166 | func newLFunctionG(gfunc LGFunction, env *LTable, nupvalue int) *LFunction { |
| 167 | return &LFunction{ |
| 168 | IsG: true, |
| 169 | Env: env, |
| 170 | |
| 171 | Proto: nil, |
| 172 | GFunction: gfunc, |
| 173 | Upvalues: make([]*Upvalue, nupvalue), |
| 174 | } |
| 175 | } |
| 176 | |
| 177 | func (fn *LFunction) LocalName(regno, pc int) (string, bool) { |
| 178 | if fn.IsG { |
no outgoing calls
no test coverage detected
searching dependent graphs…