Skip to content

Commit f3b2dcd

Browse files
Fix existing bad cases
1 parent 1987d17 commit f3b2dcd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test-data/unit/check-unreachable-code.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1495,7 +1495,7 @@ class Lie:
14951495
def __bool__(self) -> Literal[False]: ...
14961496

14971497
class Maybe:
1498-
def __bool__(self) -> Literal[True | False]: ...
1498+
def __bool__(self) -> Literal[True, False]: ...
14991499

15001500
t = Truth()
15011501
if t:

0 commit comments

Comments
 (0)