diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-13 00:59:52 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-14 06:16:14 +0800 |
commit | fe725fbb49ec661fb1c5e9c3f8b58bbf6dd9e0cb (patch) | |
tree | d7c0cd34d730125286a7eeed31f01ca404605095 /SolidityEndToEndTest.cpp | |
parent | d8535eb4ea322e3d5a9f69c953fd22a1ae3f5d8d (diff) | |
download | dexon-solidity-fe725fbb49ec661fb1c5e9c3f8b58bbf6dd9e0cb.tar dexon-solidity-fe725fbb49ec661fb1c5e9c3f8b58bbf6dd9e0cb.tar.gz dexon-solidity-fe725fbb49ec661fb1c5e9c3f8b58bbf6dd9e0cb.tar.bz2 dexon-solidity-fe725fbb49ec661fb1c5e9c3f8b58bbf6dd9e0cb.tar.lz dexon-solidity-fe725fbb49ec661fb1c5e9c3f8b58bbf6dd9e0cb.tar.xz dexon-solidity-fe725fbb49ec661fb1c5e9c3f8b58bbf6dd9e0cb.tar.zst dexon-solidity-fe725fbb49ec661fb1c5e9c3f8b58bbf6dd9e0cb.zip |
Enum type conversion and member value access.
- Added tests for the type conversion part.
- Enum member value access still needs some work
Diffstat (limited to 'SolidityEndToEndTest.cpp')
-rw-r--r-- | SolidityEndToEndTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SolidityEndToEndTest.cpp b/SolidityEndToEndTest.cpp index 7fa7dd25..551607df 100644 --- a/SolidityEndToEndTest.cpp +++ b/SolidityEndToEndTest.cpp @@ -2510,7 +2510,7 @@ BOOST_AUTO_TEST_CASE(using_enums) } function getChoice() returns (uint d) { - d = choices; + d = uint256(choices); } ActionChoices choices; } |