[Pitch] Move Function + "Use After Move" Diagnostic

move seems very special and much more than just a small new funtion, so I'm quite happy that in the meantime, A roadmap for improving Swift performance predictability: ARC improvements and ownership control popped up.
Maybe that other thread will shed some light on the topic, but until than, I want to suggest a variation that afaics has not been mentioned yet:
As move is not even a regular function at all, but rather a hint to trigger some compiler feature, why not use the "compiler magic prefix" and call it like self.x = #move(&parameter)?

2 Likes