lang: funcs: structs: Fix typos
This commit is contained in:
@@ -148,7 +148,7 @@ func (obj *IfFunc) Stream(ctx context.Context) error {
|
||||
|
||||
// Call this function with the input args and return the value if it is possible
|
||||
// to do so at this time.
|
||||
// XXX: Is is correct to implement this here for this particular function?
|
||||
// XXX: Is it correct to implement this here for this particular function?
|
||||
func (obj *IfFunc) Call(ctx context.Context, args []types.Value) (types.Value, error) {
|
||||
if obj.Info() == nil {
|
||||
return nil, fmt.Errorf("info is empty")
|
||||
|
||||
Reference in New Issue
Block a user