aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-09-22 05:43:57 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-09-22 05:43:57 +0800
commitabfd283af75ea6655733fca8394294120856aeec (patch)
treefcfe893381d1203c48e6ccaf11eb4c3399d03ec0 /libsolidity
parent8f96fe698df64b5f35b7177621d4861b85167957 (diff)
downloaddexon-solidity-abfd283af75ea6655733fca8394294120856aeec.tar.gz
dexon-solidity-abfd283af75ea6655733fca8394294120856aeec.tar.zst
dexon-solidity-abfd283af75ea6655733fca8394294120856aeec.zip
Fix typo in parsing/writing JSON error in StandardCompiler
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/interface/StandardCompiler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/interface/StandardCompiler.cpp b/libsolidity/interface/StandardCompiler.cpp
index c1996777..9649b027 100644
--- a/libsolidity/interface/StandardCompiler.cpp
+++ b/libsolidity/interface/StandardCompiler.cpp
@@ -607,7 +607,7 @@ string StandardCompiler::compile(string const& _input) noexcept
}
catch (...)
{
- return "{\"errors\":\"[{\"type\":\"JSONError\",\"component\":\"general\",\"severity\":\"error\",\"message\":\"Error parsing input JSON.\"}]}";
+ return "{\"errors\":[{\"type\":\"JSONError\",\"component\":\"general\",\"severity\":\"error\",\"message\":\"Error parsing input JSON.\"}]}";
}
// cout << "Input: " << input.toStyledString() << endl;
@@ -620,6 +620,6 @@ string StandardCompiler::compile(string const& _input) noexcept
}
catch (...)
{
- return "{\"errors\":\"[{\"type\":\"JSONError\",\"component\":\"general\",\"severity\":\"error\",\"message\":\"Error writing output JSON.\"}]}";
+ return "{\"errors\":[{\"type\":\"JSONError\",\"component\":\"general\",\"severity\":\"error\",\"message\":\"Error writing output JSON.\"}]}";
}
}
022-11-13 11:27:19 +0800'>2022-11-131-3/+3 * security/py-{acme,certbot*}: Update to 1.31.0Yasuhiro Kimura2022-10-071-3/+3 * security/py-{acme,certbot*}: Update to 1.30.0Yasuhiro Kimura2022-09-101-3/+3 * Remove WWW entries moved into port MakefilesStefan Eßer2022-09-081-2/+0 * Add WWW entries to port MakefilesStefan Eßer2022-09-081-0/+1 * security/py-{acme,certbot*}: Update to 1.29.0Yasuhiro Kimura2022-07-212-5/+4 * security/py-{acme,certbot*}: Update to 1.27.0Yasuhiro Kimura2022-05-041-3/+3 * security/py-{acme,certbot*}: Update to 1.26.0Yasuhiro Kimura2022-04-162-4/+4 * security/{py-acme,py-certbot*}: Update to 1.22.0Yasuhiro Kimura2021-12-201-3/+3 * security-py-{acme,certbot*}: Update to 1.21.0Yasuhiro Kimura2021-11-061-3/+3 * security/{py-acme,py-certbot*}: Update to 1.20.0Yasuhiro Kimura2021-10-171-3/+3 * security/py-{acme,certbot*}: Update to 1.18.0Yasuhiro Kimura2021-08-051-3/+3 * security/py-[acme|certbot]: Update to 1.17.0Yasuhiro Kimura2021-07-111-3/+3 * security/py-[acme|certbot]: Update to 1.16.0Yasuhiro Kimura2021-06-261-3/+3 * security/py-[acme|certbot]: Update to 1.15.0Danilo G. Baio2021-05-101-3/+3 * security/py-[acme|certbot]: Update to 1.14.0Danilo G. Baio2021-04-111-3/+3 * One more small cleanup, forgotten yesterday.Mathieu Arnold2021-04-071-1/+0 * Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0 * security/py-[acme|certbot]: Update to 1.13.0Danilo G. Baio2021-03-082-4/+3 * security/py-[acme|certbot]: Update to 1.11.0Danilo G. Baio2021-01-091-3/+3 * Drop python 2.7 support from a few portsAntoine Brodin2020-12-291-1/+1 * security/py-[acme|certbot]: Update to 1.10.1Danilo G. Baio2020-12-061-3/+3 * security/py-[acme|certbot]: Update to 1.9.0Danilo G. Baio2020-10-111-3/+3