Less gooooo!

This commit is contained in:
2022-09-29 18:09:52 -04:00
parent ed4c9aa0d2
commit bb4a5472e1
4 changed files with 26 additions and 4 deletions

View File

@@ -76,7 +76,7 @@ func (analyzer AnalysisOperation) analyzeType (
err error,
) {
outputType.mutable = inputType.Mutable()
if outputType.length < 1 {
if inputType.Length() < 1 {
err = inputType.NewError (
"cannot specify a length of zero",
infoerr.ErrorKindError)