Re: Why does a switch break cause a segmentation fault

2019-07-23 Thread adamgoldberg via Digitalmars-d-learn
On Tuesday, 23 July 2019 at 00:01:09 UTC, Exil wrote: On Monday, 22 July 2019 at 22:05:17 UTC, adamgoldberg wrote: Hey, I just happened to be writing a program in D an stumbled upon a bug, that causes it to terminate after receiving a SEGV signal, nothing wierd so far but it looks everything I

Why does a switch break cause a segmentation fault

2019-07-22 Thread adamgoldberg via Digitalmars-d-learn
Hey, I just happened to be writing a program in D an stumbled upon a bug, that causes it to terminate after receiving a SEGV signal, nothing wierd so far but it looks everything I tried shows it is the break statement inside of a switch. It seems to have a relatively random chance of occuring, a