diff options
author | chriseth <c@ethdev.com> | 2016-01-04 18:47:11 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-01-04 18:47:11 +0800 |
commit | e27bfa023d9aa398c3d0afcef6095082474e69fe (patch) | |
tree | 2f2d16900e78841ca6d7f983f227db5cc13cecd1 /test/libsolidity | |
parent | 6b711d0527823ff6287fe869579260bb27feacdd (diff) | |
parent | 0e2fa39fadb9ccf45408e047c2b85d62847eb9f2 (diff) | |
download | dexon-solidity-e27bfa023d9aa398c3d0afcef6095082474e69fe.tar.gz dexon-solidity-e27bfa023d9aa398c3d0afcef6095082474e69fe.tar.zst dexon-solidity-e27bfa023d9aa398c3d0afcef6095082474e69fe.zip |
Merge pull request #317 from chriseth/pathsEverywhere
Use paths instead of simple identifiers wherever possible.
Diffstat (limited to 'test/libsolidity')
-rw-r--r-- | test/libsolidity/Imports.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/Imports.cpp b/test/libsolidity/Imports.cpp index 57239cb9..f0f67785 100644 --- a/test/libsolidity/Imports.cpp +++ b/test/libsolidity/Imports.cpp @@ -97,7 +97,7 @@ BOOST_AUTO_TEST_CASE(simple_alias) { CompilerStack c; c.addSource("a", "contract A {}"); - c.addSource("dir/a/b/c", "import \"../../.././a\" as x; contract B { function() { x.A r = x.A(20); } }"); + c.addSource("dir/a/b/c", "import \"../../.././a\" as x; contract B is x.A { function() { x.A r = x.A(20); } }"); BOOST_CHECK(c.compile()); } |