aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityEndToEndTest.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-06-29 01:15:41 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-09-13 18:40:57 +0800
commitfd1f8ab38ba7f2bb04e67a44ea5e947eddcf9b13 (patch)
treef26a3d511fb37abc12b67070582acc20cac3d156 /test/libsolidity/SolidityEndToEndTest.cpp
parent88946f9f03625fab345572c66b33ee3e05a07159 (diff)
downloaddexon-solidity-fd1f8ab38ba7f2bb04e67a44ea5e947eddcf9b13.tar
dexon-solidity-fd1f8ab38ba7f2bb04e67a44ea5e947eddcf9b13.tar.gz
dexon-solidity-fd1f8ab38ba7f2bb04e67a44ea5e947eddcf9b13.tar.bz2
dexon-solidity-fd1f8ab38ba7f2bb04e67a44ea5e947eddcf9b13.tar.lz
dexon-solidity-fd1f8ab38ba7f2bb04e67a44ea5e947eddcf9b13.tar.xz
dexon-solidity-fd1f8ab38ba7f2bb04e67a44ea5e947eddcf9b13.tar.zst
dexon-solidity-fd1f8ab38ba7f2bb04e67a44ea5e947eddcf9b13.zip
Rename .sig to .selector on function types
Diffstat (limited to 'test/libsolidity/SolidityEndToEndTest.cpp')
-rw-r--r--test/libsolidity/SolidityEndToEndTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/libsolidity/SolidityEndToEndTest.cpp b/test/libsolidity/SolidityEndToEndTest.cpp
index f3d0fde3..661d184a 100644
--- a/test/libsolidity/SolidityEndToEndTest.cpp
+++ b/test/libsolidity/SolidityEndToEndTest.cpp
@@ -10056,16 +10056,16 @@ BOOST_AUTO_TEST_CASE(function_types_sig)
char const* sourceCode = R"(
contract C {
function f() returns (bytes4) {
- return this.f.sig;
+ return this.f.selector;
}
function g() returns (bytes4) {
function () external returns (bytes4) fun = this.f;
- return fun.sig;
+ return fun.selector;
}
function h() returns (bytes4) {
function () external returns (bytes4) fun = this.f;
var funvar = fun;
- return funvar.sig;
+ return funvar.selector;
}
}
)";