Include input string when reporting parsing error (as NoConvert)

This commit is contained in:
Michael Davidsaver
2020-07-21 07:29:09 -07:00
parent 51386c81b4
commit f4576d4c33
5 changed files with 65 additions and 26 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ void testAssignUnion()
testFalse(val["->"].valid());
testThrows<std::invalid_argument>([&val](){
testThrows<NoConvert>([&val](){
val["->u16"] = "hello";
});