aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2015-07-16 07:29:03 +0800
committerGav Wood <i@gavwood.com>2015-07-20 03:10:13 +0800
commit07a29389d6b13b82c3e2d55fbf62cc08124c4cbc (patch)
tree1759636bcd3d7af7fb12cf34e928268518308457 /libsolidity
parentc30de11a76f986b8b1548d57f541a18776312ed0 (diff)
downloaddexon-solidity-07a29389d6b13b82c3e2d55fbf62cc08124c4cbc.tar.gz
dexon-solidity-07a29389d6b13b82c3e2d55fbf62cc08124c4cbc.tar.zst
dexon-solidity-07a29389d6b13b82c3e2d55fbf62cc08124c4cbc.zip
All fields of BlockInfo now private.
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/SolidityEndToEndTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/SolidityEndToEndTest.cpp b/libsolidity/SolidityEndToEndTest.cpp
index d4454514..4a6507cd 100644
--- a/libsolidity/SolidityEndToEndTest.cpp
+++ b/libsolidity/SolidityEndToEndTest.cpp
@@ -1188,7 +1188,7 @@ BOOST_AUTO_TEST_CASE(now)
{
char const* sourceCode = "contract test {\n"
" function someInfo() returns (bool success) {\n"
- " return block.timestamp == now && now > 0;\n"
+ " return block.timestamp() == now && now > 0;\n"
" }\n"
"}\n";
compileAndRun(sourceCode);