issue-1: removed commented out code
All checks were successful
Test / build (push) Successful in 38s

This commit is contained in:
Leon Mika 2024-09-07 09:36:09 +10:00
parent 1b4b1a339c
commit e187ff0194
2 changed files with 0 additions and 18 deletions

View file

@ -432,20 +432,6 @@ func concatBuiltin(ctx context.Context, args invocationArgs) (object, error) {
return strObject(sb.String()), nil
}
//
//func catBuiltin(ctx context.Context, args invocationArgs) (object, error) {
// if err := args.expectArgn(1); err != nil {
// return nil, err
// }
//
// filename, err := args.stringArg(0)
// if err != nil {
// return nil, err
// }
//
// return &fileLinesStream{filename: filename}, nil
//}
func callBuiltin(ctx context.Context, args invocationArgs) (object, error) {
if err := args.expectArgn(1); err != nil {
return nil, err

View file

@ -89,10 +89,6 @@ func New(opts ...InstOption) *Inst {
rootEC.addMacro("foreach", macroFunc(foreachBuiltin))
rootEC.addMacro("proc", macroFunc(procBuiltin))
//rootEC.addCmd("testTimebomb", invokableStreamFunc(errorTestBuiltin))
rootEC.setOrDefineVar("hello", strObject("world"))
inst := &Inst{
out: os.Stdout,
rootEC: rootEC,