mirror of https://github.com/crytic/slither
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.
18 lines
309 B
18 lines
309 B
1 year ago
|
interface Test:
|
||
|
def foo() -> (int128, uint256): nonpayable
|
||
|
|
||
|
@internal
|
||
|
def foo() -> (int128, int128):
|
||
|
return 2, 3
|
||
|
|
||
|
@external
|
||
|
def bar():
|
||
|
a: int128 = 0
|
||
|
b: int128 = 0
|
||
|
(a, b) = self.foo()
|
||
|
|
||
|
x: address = 0x0000000000000000000000000000000000000000
|
||
|
c: uint256 = 0
|
||
|
a, c = Test(x).foo()
|
||
|
|