3 ms·
I don’t believe it should be new, but this can happen by accident sometimes. Like, if you included a ; on the non-return branch it would return () overall and y
by steveklabnik 6y ago
I don’t believe it should be new, but this can happen by accident sometimes. Like, if you included a ; on the non-return branch it would return () overall and you probably thought the return did it when it wasn’t that. Hard to say!
- OJFord 6y agoI made exactly that error when I went back to refactor with my new-found knowledge, so I think that must have been it. Thanks, both of you! /facepalm
- steveklabnik 6y agoGlad to hear it!