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/default_args.vy

12 lines
216 B

1 year ago
counter: uint256
config: bool
@internal
def b(y: uint256, config: bool = True):
if config:
self.counter = y
@external
def a(x: uint256, z: bool):
self.b(x)
self.b(1, self.config)
self.b(1, z)