Scenario: forward references
Given that "fwref.py" contains the following code:
"""
class Myself:
def equals(self, other: id) -> bool:
return other == self
a = Myself()
b = Myself()
a.equals(b)
a.equals(42)
"""
When "python3 fwref.py" is run
Then it must fail:
"""
typesafety.validator.TypesafetyError: Argument 'other' of function 'equals' is invalid (expected: Myself; got: int)
"""