Detect library name clashes.

This commit is contained in:
chriseth
2016-01-14 11:36:13 +01:00
parent 1cf6acca90
commit 2364c55735
3 changed files with 36 additions and 2 deletions
+3
View File
@@ -199,6 +199,9 @@ private:
};
void resolveImports();
/// Checks whether there are libraries with the same name, reports that as an error and
/// @returns false in this case.
bool checkLibraryNameClashes();
/// @returns the absolute path corresponding to @a _path relative to @a _reference.
std::string absolutePath(std::string const& _path, std::string const& _reference) const;
/// Compile a single contract and put the result in @a _compiledContracts.