mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #760 from axic/fix/omit-newline-in-interface
Do not include a trailing new line in the ABI JSON output
This commit is contained in:
commit
c1b1efafdb
@ -9,6 +9,7 @@ Bugfixes:
|
|||||||
|
|
||||||
* Parser: disallow empty enum definitions.
|
* Parser: disallow empty enum definitions.
|
||||||
* Type checker: disallow conversion between different enum types.
|
* Type checker: disallow conversion between different enum types.
|
||||||
|
* Interface JSON: do not include trailing new line.
|
||||||
|
|
||||||
### 0.4.4 (2016-10-31)
|
### 0.4.4 (2016-10-31)
|
||||||
|
|
||||||
|
@ -103,7 +103,10 @@ string InterfaceHandler::abiInterface(ContractDefinition const& _contractDef)
|
|||||||
event["inputs"] = params;
|
event["inputs"] = params;
|
||||||
abi.append(event);
|
abi.append(event);
|
||||||
}
|
}
|
||||||
return Json::FastWriter().write(abi);
|
|
||||||
|
Json::FastWriter writer;
|
||||||
|
writer.omitEndingLineFeed();
|
||||||
|
return writer.write(abi);
|
||||||
}
|
}
|
||||||
|
|
||||||
string InterfaceHandler::userDocumentation(ContractDefinition const& _contractDef)
|
string InterfaceHandler::userDocumentation(ContractDefinition const& _contractDef)
|
||||||
|
Loading…
Reference in New Issue
Block a user