aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-05-27 03:42:17 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-05-27 03:42:17 +0800
commitefadf7e41f73b83f3a7793562cc26f3e92b0211d (patch)
treedf5f4dc77ac6887c8d18e23bf213f236b1215cf8 /libsolidity
parent8fe79fe706fd64146ffbf345e0241b7c4357ce43 (diff)
downloaddexon-solidity-efadf7e41f73b83f3a7793562cc26f3e92b0211d.tar
dexon-solidity-efadf7e41f73b83f3a7793562cc26f3e92b0211d.tar.gz
dexon-solidity-efadf7e41f73b83f3a7793562cc26f3e92b0211d.tar.bz2
dexon-solidity-efadf7e41f73b83f3a7793562cc26f3e92b0211d.tar.lz
dexon-solidity-efadf7e41f73b83f3a7793562cc26f3e92b0211d.tar.xz
dexon-solidity-efadf7e41f73b83f3a7793562cc26f3e92b0211d.tar.zst
dexon-solidity-efadf7e41f73b83f3a7793562cc26f3e92b0211d.zip
Change error message for invalid type
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/inlineasm/AsmAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/inlineasm/AsmAnalysis.cpp b/libsolidity/inlineasm/AsmAnalysis.cpp
index eb6f8bc0..24eddf05 100644
--- a/libsolidity/inlineasm/AsmAnalysis.cpp
+++ b/libsolidity/inlineasm/AsmAnalysis.cpp
@@ -463,7 +463,7 @@ void AsmAnalyzer::expectValidType(string const& type, SourceLocation const& _loc
if (!(set<string>{"bool", "u8", "s8", "u32", "s32", "u64", "s64", "u128", "s128", "u256", "s256"}).count(type))
m_errors.push_back(make_shared<Error>(
Error::Type::TypeError,
- "User defined types (\"" + type + "\") are not supported yet.",
+ "\"" + type + "\" is not a valid type (user defined types are not yet supported).",
_location
));
}