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/tests/e2e/vyper_parsing/test_data/precedence.vy

14 lines
171 B

@internal
def fa() -> uint256:
return 1
@internal
def fb() -> uint256:
raise
@external
def foo(x: uint256) -> bool:
return x not in [self.fa(), self.fb()]