Ticket #2 (closed task: fixed)

Opened 10 months ago

Last modified 10 months ago

Add default case for all switches

Reported by: keinfarbton Assigned to: somebody
Priority: major Milestone:
Component: component1 Version:
Keywords: Cc:

Description

In D, a missing default case generates an assertion error if no other case was matched. In Java this does not result in an error.

All sources needs to be searched for switch statements and checked if a default case is present. If not, it shall be added.

Change History

02/19/08 17:03:50 changed by darkdragon

40% reviewed

2 missing default cases: widgets/TableColumn.d Line: 701 Line: 760

02/20/08 15:54:26 changed by keinfarbton

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in -r619faee45ef6, thx darkdragon