diff options
author | Rhett Aultman <roadriverrail@gmail.com> | 2016-12-22 03:40:13 +0800 |
---|---|---|
committer | Rhett Aultman <rhett.aultman@meraki.net> | 2017-01-17 01:32:58 +0800 |
commit | 5a2331a9f6615e58f4d10d266870daaaf05deb6b (patch) | |
tree | f962ef15aa38f365980fcdeb107dc2a8def62f38 /libsolidity/interface/CompilerStack.h | |
parent | 1f30982ab532fdf719f3924e24e80057fe85e031 (diff) | |
download | dexon-solidity-5a2331a9f6615e58f4d10d266870daaaf05deb6b.tar dexon-solidity-5a2331a9f6615e58f4d10d266870daaaf05deb6b.tar.gz dexon-solidity-5a2331a9f6615e58f4d10d266870daaaf05deb6b.tar.bz2 dexon-solidity-5a2331a9f6615e58f4d10d266870daaaf05deb6b.tar.lz dexon-solidity-5a2331a9f6615e58f4d10d266870daaaf05deb6b.tar.xz dexon-solidity-5a2331a9f6615e58f4d10d266870daaaf05deb6b.tar.zst dexon-solidity-5a2331a9f6615e58f4d10d266870daaaf05deb6b.zip |
Remove checkLibraryNameClashes()
The library name clash checker throws errors when two libraries of the
same name are spotted. In a previous commit, this function was
rewritten to use fully-qualified names instead, which makes it redundant
to the checker for multiply-declared identifiers. Since it no longer
serves a clear purpose, the function is being dropped.
Diffstat (limited to 'libsolidity/interface/CompilerStack.h')
-rw-r--r-- | libsolidity/interface/CompilerStack.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libsolidity/interface/CompilerStack.h b/libsolidity/interface/CompilerStack.h index 9436bd83..61edc284 100644 --- a/libsolidity/interface/CompilerStack.h +++ b/libsolidity/interface/CompilerStack.h @@ -234,9 +234,6 @@ private: StringMap loadMissingSources(SourceUnit const& _ast, std::string const& _path); std::string applyRemapping(std::string const& _path, std::string const& _context); 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; /// Helper function to return path converted strings. |