Yes, and it would be nice if the compiler could produce such an annotated version automatically, instead of the programmer having to use the highly error-prone technique of typing it all out manually.
For a single function it's not a bug deal, but if you are migrating 10k lines, I'd view it as a near necessity.