diff options
author | chriseth <c@ethdev.com> | 2015-06-10 23:51:24 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-06-10 23:51:24 +0800 |
commit | 7c4324eb5fcee546f809c81b29d2aac5a079d2fc (patch) | |
tree | 26c9450b9ea049edd6ca3fa9f540a62c7cd290da /libsolidity | |
parent | bcecae082219abb99157aca5afe9440fac20b516 (diff) | |
download | dexon-solidity-7c4324eb5fcee546f809c81b29d2aac5a079d2fc.tar dexon-solidity-7c4324eb5fcee546f809c81b29d2aac5a079d2fc.tar.gz dexon-solidity-7c4324eb5fcee546f809c81b29d2aac5a079d2fc.tar.bz2 dexon-solidity-7c4324eb5fcee546f809c81b29d2aac5a079d2fc.tar.lz dexon-solidity-7c4324eb5fcee546f809c81b29d2aac5a079d2fc.tar.xz dexon-solidity-7c4324eb5fcee546f809c81b29d2aac5a079d2fc.tar.zst dexon-solidity-7c4324eb5fcee546f809c81b29d2aac5a079d2fc.zip |
Added missing source locations for new memory management code.
Diffstat (limited to 'libsolidity')
-rw-r--r-- | libsolidity/Assembly.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/Assembly.cpp b/libsolidity/Assembly.cpp index ccc4bf81..fd4bbcf6 100644 --- a/libsolidity/Assembly.cpp +++ b/libsolidity/Assembly.cpp @@ -105,8 +105,8 @@ BOOST_AUTO_TEST_CASE(location_test) shared_ptr<string const> n = make_shared<string>("source"); AssemblyItems items = compileContract(sourceCode); vector<SourceLocation> locations = - vector<SourceLocation>(11, SourceLocation(2, 75, n)) + - vector<SourceLocation>(12, SourceLocation(20, 72, n)) + + vector<SourceLocation>(17, SourceLocation(2, 75, n)) + + vector<SourceLocation>(14, SourceLocation(20, 72, n)) + vector<SourceLocation>{SourceLocation(42, 51, n), SourceLocation(65, 67, n)} + vector<SourceLocation>(4, SourceLocation(58, 67, n)) + vector<SourceLocation>(3, SourceLocation(20, 72, n)); |