mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #6799 from ethereum/fix-spells
Fix new found spelling mistakes and add exceptions
This commit is contained in:
commit
0e132d0773
@ -67,7 +67,7 @@ jsoncpp:
|
|||||||
license you like.
|
license you like.
|
||||||
|
|
||||||
scanner/token:
|
scanner/token:
|
||||||
The liblangutil/{CharStream,Scanner,Token}.{h,cpp} files are dervied from
|
The liblangutil/{CharStream,Scanner,Token}.{h,cpp} files are derived from
|
||||||
code originating from the V8 project licensed under the following terms:
|
code originating from the V8 project licensed under the following terms:
|
||||||
|
|
||||||
Copyright 2006-2012, the V8 project authors. All rights reserved.
|
Copyright 2006-2012, the V8 project authors. All rights reserved.
|
||||||
|
@ -111,7 +111,7 @@ enum class HexCase
|
|||||||
/// @example toHex("A\x69") == "4169"
|
/// @example toHex("A\x69") == "4169"
|
||||||
std::string toHex(bytes const& _data, HexPrefix _prefix = HexPrefix::DontAdd, HexCase _case = HexCase::Lower);
|
std::string toHex(bytes const& _data, HexPrefix _prefix = HexPrefix::DontAdd, HexCase _case = HexCase::Lower);
|
||||||
|
|
||||||
/// Converts a (printable) ASCII hex character into the correspnding integer value.
|
/// Converts a (printable) ASCII hex character into the corresponding integer value.
|
||||||
/// @example fromHex('A') == 10 && fromHex('f') == 15 && fromHex('5') == 5
|
/// @example fromHex('A') == 10 && fromHex('f') == 15 && fromHex('5') == 5
|
||||||
int fromHex(char _i, WhenError _throw);
|
int fromHex(char _i, WhenError _throw);
|
||||||
|
|
||||||
|
@ -3,3 +3,9 @@ nd
|
|||||||
assignend
|
assignend
|
||||||
uint
|
uint
|
||||||
mut
|
mut
|
||||||
|
BA
|
||||||
|
FO
|
||||||
|
ba
|
||||||
|
fo
|
||||||
|
compilability
|
||||||
|
errorString
|
||||||
|
@ -371,7 +371,7 @@ contract provider is module, safeMath, announcementTypes {
|
|||||||
}
|
}
|
||||||
function allowUsers(address provider, address[] calldata addr) isReady external {
|
function allowUsers(address provider, address[] calldata addr) isReady external {
|
||||||
/*
|
/*
|
||||||
Permition of the user to be able to connect to the provider.
|
Permission of the user to be able to connect to the provider.
|
||||||
This can only be invited by the provider’s admin.
|
This can only be invited by the provider’s admin.
|
||||||
With this kind of call only 100 address can be permitted.
|
With this kind of call only 100 address can be permitted.
|
||||||
|
|
||||||
|
@ -13518,7 +13518,7 @@ BOOST_AUTO_TEST_CASE(bare_call_invalid_address)
|
|||||||
{
|
{
|
||||||
char const* sourceCode = R"YY(
|
char const* sourceCode = R"YY(
|
||||||
contract C {
|
contract C {
|
||||||
/// Calling into non-existant account is successful (creates the account)
|
/// Calling into non-existent account is successful (creates the account)
|
||||||
function f() external returns (bool) {
|
function f() external returns (bool) {
|
||||||
(bool success,) = address(0x4242).call("");
|
(bool success,) = address(0x4242).call("");
|
||||||
return success;
|
return success;
|
||||||
|
Loading…
Reference in New Issue
Block a user