Skip to content

Commit 12ffe9a

Browse files
committed
Fixes build
1 parent 3e91e92 commit 12ffe9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

typesafety/test_typeclass/test_supports/test_typeguard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
reveal_type(item)
5252
to_json(item) # ok
5353
out: |
54-
main:20: error: Argument 1 to "to_json" has incompatible type "Union[int, str]"; expected "Union[Dict[Any, Any], Supports[ToJson]]"
54+
main:20: error: Argument 1 to "to_json" has incompatible type "Union[int, str]"; expected "Supports[ToJson]"
5555
main:23: note: Revealed type is "Union[builtins.dict[Any, Any], builtins.int]"
5656
5757
@@ -116,5 +116,5 @@
116116
reveal_type(item)
117117
copy(item) # ok
118118
out: |
119-
main:22: error: Argument 1 to "copy" has incompatible type "Union[builtins.int, builtins.str]"; expected "Union[builtins.dict[Any, Any], classes._typeclass.Supports[main.Copy]]"
119+
main:22: error: Argument 1 to "copy" has incompatible type "Union[builtins.int, builtins.str]"; expected "classes._typeclass.Supports[main.Copy]"
120120
main:25: note: Revealed type is "Union[builtins.dict[Any, Any], builtins.int]"

0 commit comments

Comments
 (0)