lang: Add common type to global variables
We use the list of strings so often, we might as well give it a global variable.
This commit is contained in:
@@ -54,6 +54,6 @@ func Args([]types.Value) (types.Value, error) {
|
||||
}
|
||||
return &types.ListValue{
|
||||
V: values,
|
||||
T: types.NewType("[]str"),
|
||||
T: types.TypeListStr,
|
||||
}, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user