Skip to content

Commit 543dd8a

Browse files
committed
Fix - Switch statement was not exhaustive
1 parent 8391da7 commit 543dd8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/switch/exhaustiveness.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,6 @@ boolean isScary(Bird bird) {
4545
return false;
4646
}
4747
}
48+
return false;
4849
}
4950
```

0 commit comments

Comments
 (0)