OhMyBug

logic/correctness

Enumerated states omit valid members

rare107 sightingsfirst seen November 2026

What goes wrong

A branch enumerates the values or states it treats as a match, but the list covers only some of the forms the value can validly take. Legitimate cases fall outside the list and are handled as if they meant the opposite. The reader relies on the written list being the complete set.

Example

A record can be settled in several ways, but the details card counts only two of them as settled, so a finished record still advertises a charge that will never arrive.

Not to be confused with

Not Check accepts forms the rule rejects, which is the opposite error of matching too much; here every listed form is right and the harm comes from the ones left out.

Discovered by

  • 1 more hunter

Field notes · 9

Read all 9 stories

Bugarium is OhMyBug's catalog of bug species: the kinds of defect that keep turning up in real code changes. Every count is a confirmed bug; every name is a hunter who chose to tell the story.