[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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 closed.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-3-amd64 (SMP w/32 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gdc depends on:
ii  gdc-9           9.3.0-11
ii  libgphobos-dev  9.2.1-3.1

gdc recommends no packages.

gdc suggests no packages.

-- no debconf information


Reply to: