On Wednesday, 5 March 2014 at 23:20:08 UTC, bearophile wrote: > Frustrated: > >> how does an enum return type work? >> >> enum foo(string s) { return s; } > > As far as I know that's not valid D (but D is extremely > tolerating). > > Bye, > bearophile Well, it works... not sure exactly what it's doing though.