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
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
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
3 matches
Mail list logo