Skip to content

Commit 1844ac9

Browse files
committed
review
1 parent 3c8cb68 commit 1844ac9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/testdata/gochecksumtype.go

+2-1
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)