3 ms·
Counter-point: consider the case where the body of the function is only `return value`.
by jhardy54 3y ago
Counter-point: consider the case where the body of the function is only `return value`.
- codebje 3y agoIsn't that an argument that the function implementation might break, not that callers might? Assuming implicit conversion for union types, you could either widen argument or narrow return without changing that implementation, but not both. A different implementation may not be able to handle either modification, though.