On Tuesday, 8 March 2016 at 13:40:06 UTC, Antonio Corbi wrote:
Is it a feature or a bug?

It is allowed because the "auto" keyword doesn't actually required for auto functions (or variables), what you need is any one of the storage classes.

Those include static, auto, const, immutable, even pure.

If any of them are present, the compiler knows you are writing a function or declaring a variable and will infer the type.

Reply via email to