diff options
author | VoR0220 <catalanor0220@gmail.com> | 2016-03-30 04:56:26 +0800 |
---|---|---|
committer | VoR0220 <catalanor0220@gmail.com> | 2016-05-10 00:41:03 +0800 |
commit | f67bfd24a3c294f0388f847be213a5236ffd60a4 (patch) | |
tree | 3eff0a5497d2b9d9a1d4a1766b3b4dd81aa3d085 /libsolidity/analysis/ReferencesResolver.cpp | |
parent | 4b749fc33335cee2de50e31776ddae1f73649a7b (diff) | |
download | dexon-solidity-f67bfd24a3c294f0388f847be213a5236ffd60a4.tar.gz dexon-solidity-f67bfd24a3c294f0388f847be213a5236ffd60a4.tar.zst dexon-solidity-f67bfd24a3c294f0388f847be213a5236ffd60a4.zip |
rational renaming
Diffstat (limited to 'libsolidity/analysis/ReferencesResolver.cpp')
-rw-r--r-- | libsolidity/analysis/ReferencesResolver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/analysis/ReferencesResolver.cpp b/libsolidity/analysis/ReferencesResolver.cpp index 3351c716..f4e0f838 100644 --- a/libsolidity/analysis/ReferencesResolver.cpp +++ b/libsolidity/analysis/ReferencesResolver.cpp @@ -103,7 +103,7 @@ void ReferencesResolver::endVisit(ArrayTypeName const& _typeName) { if (!length->annotation().type) ConstantEvaluator e(*length); - auto const* lengthType = dynamic_cast<ConstantNumberType const*>(length->annotation().type.get()); + auto const* lengthType = dynamic_cast<RationalNumberType const*>(length->annotation().type.get()); if (!lengthType) fatalTypeError(length->location(), "Invalid array length."); else if (lengthType->denominator() != 1) |