Given the code
let add x y = x + y
Create a refactoring that would suggesting rewriting it to
let add x y : int = x + y
I think this should be easy. We have:
- Machinery to create refactorings
- Methods to extract return type info - used in return type hints
Originally posted by @psfinaki in #10421 (comment)