Closed wrouesnel closed 7 years ago
This use of err is invalid, and crashes runv with a nil pointer deference when err was not set in the code above. It additionally means the wrong error message is printed (as the actual check is "channel closed" not err).
err
runv
LGTM, thanks!
This use of
err
is invalid, and crashesrunv
with a nil pointer deference when err was not set in the code above. It additionally means the wrong error message is printed (as the actual check is "channel closed" noterr
).