Bug#808724: gdc: "switch" requires a "default" case

2020-05-07 Thread Witold Baryluk
Package: gdc Version: 4:9.2.1-3.1 Followup-For: Bug #808724 This bug seems to be fixed long time ago: $ gdc example.d dlang.d:10:9: error: switch statement without a default; use 'final switch' or add 'default: assert(0);' or add 'default: break;' 10 | switch (1) { $ So, bug can be

Bug#808724: gdc: "switch" requires a "default" case

2015-12-22 Thread Iain Buclaw
On 22 December 2015 at 10:10, Celelibi wrote: > > Package: gdc > Version: 4:5.3.1-1 > Severity: normal > > Dear maintainer, > > The D languages requires that the "switch" statement has a "default" > case. This is supposed to be already implemented in the frontend and > produce

Bug#808724: gdc: "switch" requires a "default" case

2015-12-22 Thread Celelibi
Package: gdc Version: 4:5.3.1-1 Severity: normal Dear maintainer, The D languages requires that the "switch" statement has a "default" case. This is supposed to be already implemented in the frontend and produce a compilation error. Here is a simple test-case that shouldn't compile: import