Yes, this is the problem for returns, but it's going to be difficult for the compiler to put something useful. The best it can do is point you at the code that returns, and let you figure it out.
I still think the best option is let the author describe it in ddoc, as the semantic meaning can be much easier to convey that way.
I still think the best option is let the author describe it in ddoc, as the semantic meaning can be much easier to convey that way.