(name string, e exprDesc)
| 1018 | } |
| 1019 | |
| 1020 | func (f *function) makeUpValue(name string, e exprDesc) int { |
| 1021 | f.p.checkLimit(len(f.f.upValues)+1, maxUpValue, "upvalues") |
| 1022 | f.f.upValues = append(f.f.upValues, upValueDesc{name: name, isLocal: e.kind == kindLocal, index: e.info}) |
| 1023 | return len(f.f.upValues) - 1 |
| 1024 | } |
| 1025 | |
| 1026 | func singleVariableHelper(f *function, name string, base bool) (e exprDesc, found bool) { |
| 1027 | owningBlock := func(b *block, level int) *block { |
no test coverage detected