diff options
-rw-r--r-- | src/texec/eval.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/texec/eval.go b/src/texec/eval.go index 4d4785d..2ac6eab 100644 --- a/src/texec/eval.go +++ b/src/texec/eval.go @@ -628,7 +628,7 @@ func resolveStructCall(a TArtifact, method string, params []TVariable) TVariable a.Name = method tres := tnslResolve(a) - if a.Name == "close" { + if a.Name == "close" || a.Name == "read" { params = append(params, null) } |