Merge pull request #317 from chriseth/pathsEverywhere

Use paths instead of simple identifiers wherever possible.
This commit is contained in:
chriseth
2016-01-04 11:47:11 +01:00
6 changed files with 27 additions and 24 deletions
+1 -1
View File
@@ -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());
}