CTFE Status 2

Stefan Koch via Digitalmars-d digitalmars-d at puremagic.com
Wed Mar 22 09:03:59 PDT 2017


On Thursday, 16 February 2017 at 21:05:51 UTC, Stefan Koch wrote:
> [ ... ]

I just fixed a bug in switches, where the fall-trough case would 
incorrectly jump after the switch.

The reason this bug occurred is that none of my tests did cover 
the fall-trough case.
The code that handles switches converts them into a big if-else 
chain because jump-tables are usually more expensive for small 
switches.


More information about the Digitalmars-d mailing list