Closed FelixTheC closed 3 years ago
@match_class_typing class Foo: def __init__(self, val: int): self.val = val @match_typing def bar(some_class: Foo) pass # will raise a wrong TypeMisMatch bar(Foo(10))