3 ms·
Maybe for a side-effecting function which would only return an error? edit: nope, fails with "err evaluated but not used".
by masklinn 10y ago
Maybe for a side-effecting function which would only return an error?
edit: nope, fails with "err evaluated but not used".
- stouset 10y agoI'm genuinely stumped. If they've fixed this, that's fantastic because I have absolutely shipped code with this bug to a production environment.
- iand 10y agoI've been working with Go for 4 years and I've not encountered it. Perhaps there was an edge case where it was allowed, but I don't recall it.