mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update names in FunctionCallGraps
This commit is contained in:
parent
9ce1ded86f
commit
af1cd16d1f
@ -1673,7 +1673,7 @@ BOOST_AUTO_TEST_CASE(using_for)
|
|||||||
contract C {
|
contract C {
|
||||||
using L for S;
|
using L for S;
|
||||||
|
|
||||||
function test() public {
|
function pub() public {
|
||||||
S memory s = S(42);
|
S memory s = S(42);
|
||||||
|
|
||||||
s.ext();
|
s.ext();
|
||||||
@ -1693,8 +1693,8 @@ BOOST_AUTO_TEST_CASE(using_for)
|
|||||||
{"Entry", "function L.ext(struct S)"},
|
{"Entry", "function L.ext(struct S)"},
|
||||||
}},
|
}},
|
||||||
{"C", {
|
{"C", {
|
||||||
{"Entry", "function C.test()"},
|
{"Entry", "function C.pub()"},
|
||||||
{"function C.test()", "function L.inr(struct S)"},
|
{"function C.pub()", "function L.inr(struct S)"},
|
||||||
}},
|
}},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -1713,7 +1713,7 @@ BOOST_AUTO_TEST_CASE(user_defined_binary_operator)
|
|||||||
}
|
}
|
||||||
|
|
||||||
contract C {
|
contract C {
|
||||||
function test() public {
|
function pub() public {
|
||||||
Int.wrap(0) + Int.wrap(1);
|
Int.wrap(0) + Int.wrap(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1726,8 +1726,8 @@ BOOST_AUTO_TEST_CASE(user_defined_binary_operator)
|
|||||||
|
|
||||||
map<string, EdgeNames> expectedDeployedEdges = {
|
map<string, EdgeNames> expectedDeployedEdges = {
|
||||||
{"C", {
|
{"C", {
|
||||||
{"Entry", "function C.test()"},
|
{"Entry", "function C.pub()"},
|
||||||
{"function C.test()", "function add(Int,Int)"},
|
{"function C.pub()", "function add(Int,Int)"},
|
||||||
}},
|
}},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -1746,7 +1746,7 @@ BOOST_AUTO_TEST_CASE(user_defined_unary_operator)
|
|||||||
}
|
}
|
||||||
|
|
||||||
contract C {
|
contract C {
|
||||||
function test() public {
|
function pub() public {
|
||||||
-Int.wrap(1);
|
-Int.wrap(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1759,8 +1759,8 @@ BOOST_AUTO_TEST_CASE(user_defined_unary_operator)
|
|||||||
|
|
||||||
map<string, EdgeNames> expectedDeployedEdges = {
|
map<string, EdgeNames> expectedDeployedEdges = {
|
||||||
{"C", {
|
{"C", {
|
||||||
{"Entry", "function C.test()"},
|
{"Entry", "function C.pub()"},
|
||||||
{"function C.test()", "function sub(Int)"},
|
{"function C.pub()", "function sub(Int)"},
|
||||||
}},
|
}},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user