Static Analyzer for Solidity
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
slither/test.py

24 lines
307 B

import abc
from typing import Union
class S:
pass
class S1(S):
pass
class A(abc.ABC):
@property
@abc.abstractmethod
def test(self) -> Union[Union[int, Union[Union[S, S1, str]]]]:
return 0
class B(A):
@property
def test(self) -> Union[str, S1]:
return "t"