diff options
author | Daniel Kirchner <daniel@ekpyron.org> | 2018-08-10 21:56:29 +0800 |
---|---|---|
committer | Daniel Kirchner <daniel@ekpyron.org> | 2018-08-13 21:50:22 +0800 |
commit | a9f31da41146221c674356d5678030616110d471 (patch) | |
tree | 9027bbe7082cd658b5a0763e1b5ae4d99cca419d /libsolidity | |
parent | 57ada1d69e311f847b4581a0e487aebd1b0e468f (diff) | |
download | dexon-solidity-a9f31da41146221c674356d5678030616110d471.tar dexon-solidity-a9f31da41146221c674356d5678030616110d471.tar.gz dexon-solidity-a9f31da41146221c674356d5678030616110d471.tar.bz2 dexon-solidity-a9f31da41146221c674356d5678030616110d471.tar.lz dexon-solidity-a9f31da41146221c674356d5678030616110d471.tar.xz dexon-solidity-a9f31da41146221c674356d5678030616110d471.tar.zst dexon-solidity-a9f31da41146221c674356d5678030616110d471.zip |
Allow mapping arguments and return values in all internal functions.
Diffstat (limited to 'libsolidity')
-rw-r--r-- | libsolidity/analysis/TypeChecker.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libsolidity/analysis/TypeChecker.cpp b/libsolidity/analysis/TypeChecker.cpp index 62216272..f2f5e626 100644 --- a/libsolidity/analysis/TypeChecker.cpp +++ b/libsolidity/analysis/TypeChecker.cpp @@ -632,7 +632,6 @@ bool TypeChecker::visit(FunctionDefinition const& _function) if ( !type(*var)->canLiveOutsideStorage() && !( - isLibraryFunction && (_function.visibility() <= FunctionDefinition::Visibility::Internal) && type(*var)->category() == Type::Category::Mapping ) |