diff options
author | Christian <c@ethdev.com> | 2014-10-24 18:42:44 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2014-10-24 18:42:44 +0800 |
commit | 1ae1fc66e2d02fc17d4148a553a59ead402b9f54 (patch) | |
tree | 4c7378c2d1568a1f4bbffc95ea41bc3529d46be9 /AST.h | |
parent | 094ee44f721054518ff384aef7cde1afe649636d (diff) | |
download | dexon-solidity-1ae1fc66e2d02fc17d4148a553a59ead402b9f54.tar.gz dexon-solidity-1ae1fc66e2d02fc17d4148a553a59ead402b9f54.tar.zst dexon-solidity-1ae1fc66e2d02fc17d4148a553a59ead402b9f54.zip |
Use createTypeError everywhere and stream out Location.
Diffstat (limited to 'AST.h')
-rw-r--r-- | AST.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -57,8 +57,7 @@ public: Location const& getLocation() const { return m_location; } -protected: - /// Creates a @ref TypeError exception and decorates it with the current location and + /// Creates a @ref TypeError exception and decorates it with the location of the node and /// the given description TypeError createTypeError(std::string const& _description); |