Bug in function parameters type matching

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 9 14:27:14 PDT 2017

On Saturday, 9 September 2017 at 21:15:10 UTC, EntangledQuanta 
> What's the point then of even having an enum parameter?

You must pass the enum to the enum parameter. Implicit casting 
only goes one way.

You are just also allowed to pass the enum to an int parameter.

More information about the Digitalmars-d mailing list