Skip to content

Commit c2bc6c2

Browse files
committed
review
1 parent 64a879c commit c2bc6c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/testdata/gochecksumtype.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@ func sumTypeTest() {
2626
switch sum.(type) { // want "exhaustiveness check failed for sum type.*SumType.*missing cases for Two"
2727
case One:
2828
default:
29-
log.Println("??")
3029
panic("??")
3130
}
3231

32+
log.Println("??")
33+
3334
switch sum.(type) {
3435
case One:
3536
case Two:

0 commit comments

Comments
 (0)