Remove switch case fallthrough

rempas rempas at tutanota.com
Thu May 13 14:24:10 UTC 2021


On Thursday, 13 May 2021 at 14:22:21 UTC, IGotD- wrote:
> On Thursday, 13 May 2021 at 14:15:39 UTC, Paul Backus wrote:
>>
>> switch case fallthrough is already considered deprecated. If 
>> you use it, the compiler will produce the following warning:
>>
>>     Deprecation: switch case fallthrough - use 'goto case;' if 
>> intended
>>
>
> I kind of read between the lines and got it to that TS wanted 
> to remove the mandatory break completely. Could be wrong though.

Yes this is what I mean! There is no reason to have to use break! 
It is just annoying imo!


More information about the Digitalmars-d mailing list