method has no return statement with switch

crimaniak via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Nov 6 16:30:24 PST 2015


On Saturday, 7 November 2015 at 00:27:02 UTC, Adam D. Ruppe wrote:
> On Saturday, 7 November 2015 at 00:21:57 UTC, crimaniak wrote:
>> Inserting dummy return statement doesn't help. final switch / 
>> switch with default - no matter.
>
>
> Try inserting assert(0); instead of a dummy return.

  Done, no difference.


More information about the Digitalmars-d-learn mailing list