mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update tests.
This commit is contained in:
parent
44374a5846
commit
bdd86cb39c
@ -148,7 +148,6 @@
|
|||||||
"id" : 14,
|
"id" : 14,
|
||||||
"implemented" : true,
|
"implemented" : true,
|
||||||
"isConstructor" : false,
|
"isConstructor" : false,
|
||||||
"isDeclaredConst" : false,
|
|
||||||
"modifiers" : [],
|
"modifiers" : [],
|
||||||
"name" : "fn",
|
"name" : "fn",
|
||||||
"nodeType" : "FunctionDefinition",
|
"nodeType" : "FunctionDefinition",
|
||||||
@ -159,7 +158,6 @@
|
|||||||
"parameters" : [],
|
"parameters" : [],
|
||||||
"src" : "145:2:3"
|
"src" : "145:2:3"
|
||||||
},
|
},
|
||||||
"payable" : false,
|
|
||||||
"returnParameters" :
|
"returnParameters" :
|
||||||
{
|
{
|
||||||
"id" : 12,
|
"id" : 12,
|
||||||
|
@ -105,7 +105,6 @@
|
|||||||
{
|
{
|
||||||
"attributes" :
|
"attributes" :
|
||||||
{
|
{
|
||||||
"constant" : false,
|
|
||||||
"documentation" : "Some comment on fn.",
|
"documentation" : "Some comment on fn.",
|
||||||
"implemented" : true,
|
"implemented" : true,
|
||||||
"isConstructor" : false,
|
"isConstructor" : false,
|
||||||
@ -114,7 +113,6 @@
|
|||||||
null
|
null
|
||||||
],
|
],
|
||||||
"name" : "fn",
|
"name" : "fn",
|
||||||
"payable" : false,
|
|
||||||
"scope" : 15,
|
"scope" : 15,
|
||||||
"stateMutability" : "nonpayable",
|
"stateMutability" : "nonpayable",
|
||||||
"superFunction" : null,
|
"superFunction" : null,
|
||||||
|
@ -38,7 +38,6 @@
|
|||||||
"id" : 16,
|
"id" : 16,
|
||||||
"implemented" : true,
|
"implemented" : true,
|
||||||
"isConstructor" : false,
|
"isConstructor" : false,
|
||||||
"isDeclaredConst" : false,
|
|
||||||
"modifiers" : [],
|
"modifiers" : [],
|
||||||
"name" : "f",
|
"name" : "f",
|
||||||
"nodeType" : "FunctionDefinition",
|
"nodeType" : "FunctionDefinition",
|
||||||
@ -65,7 +64,6 @@
|
|||||||
"typeName" :
|
"typeName" :
|
||||||
{
|
{
|
||||||
"id" : 5,
|
"id" : 5,
|
||||||
"isDeclaredConst" : false,
|
|
||||||
"nodeType" : "FunctionTypeName",
|
"nodeType" : "FunctionTypeName",
|
||||||
"parameterTypes" :
|
"parameterTypes" :
|
||||||
{
|
{
|
||||||
@ -74,7 +72,6 @@
|
|||||||
"parameters" : [],
|
"parameters" : [],
|
||||||
"src" : "32:2:1"
|
"src" : "32:2:1"
|
||||||
},
|
},
|
||||||
"payable" : true,
|
|
||||||
"returnParameterTypes" :
|
"returnParameterTypes" :
|
||||||
{
|
{
|
||||||
"id" : 4,
|
"id" : 4,
|
||||||
@ -128,7 +125,6 @@
|
|||||||
],
|
],
|
||||||
"src" : "23:46:1"
|
"src" : "23:46:1"
|
||||||
},
|
},
|
||||||
"payable" : false,
|
|
||||||
"returnParameters" :
|
"returnParameters" :
|
||||||
{
|
{
|
||||||
"id" : 14,
|
"id" : 14,
|
||||||
@ -152,7 +148,6 @@
|
|||||||
"typeName" :
|
"typeName" :
|
||||||
{
|
{
|
||||||
"id" : 12,
|
"id" : 12,
|
||||||
"isDeclaredConst" : true,
|
|
||||||
"nodeType" : "FunctionTypeName",
|
"nodeType" : "FunctionTypeName",
|
||||||
"parameterTypes" :
|
"parameterTypes" :
|
||||||
{
|
{
|
||||||
@ -161,7 +156,6 @@
|
|||||||
"parameters" : [],
|
"parameters" : [],
|
||||||
"src" : "87:2:1"
|
"src" : "87:2:1"
|
||||||
},
|
},
|
||||||
"payable" : false,
|
|
||||||
"returnParameterTypes" :
|
"returnParameterTypes" :
|
||||||
{
|
{
|
||||||
"id" : 11,
|
"id" : 11,
|
||||||
|
@ -38,7 +38,6 @@
|
|||||||
{
|
{
|
||||||
"attributes" :
|
"attributes" :
|
||||||
{
|
{
|
||||||
"constant" : false,
|
|
||||||
"documentation" : null,
|
"documentation" : null,
|
||||||
"implemented" : true,
|
"implemented" : true,
|
||||||
"isConstructor" : false,
|
"isConstructor" : false,
|
||||||
@ -47,7 +46,6 @@
|
|||||||
null
|
null
|
||||||
],
|
],
|
||||||
"name" : "f",
|
"name" : "f",
|
||||||
"payable" : false,
|
|
||||||
"scope" : 17,
|
"scope" : 17,
|
||||||
"stateMutability" : "nonpayable",
|
"stateMutability" : "nonpayable",
|
||||||
"superFunction" : null,
|
"superFunction" : null,
|
||||||
@ -75,8 +73,6 @@
|
|||||||
{
|
{
|
||||||
"attributes" :
|
"attributes" :
|
||||||
{
|
{
|
||||||
"constant" : false,
|
|
||||||
"payable" : true,
|
|
||||||
"stateMutability" : "payable",
|
"stateMutability" : "payable",
|
||||||
"type" : "function () payable external returns (uint256)",
|
"type" : "function () payable external returns (uint256)",
|
||||||
"visibility" : "external"
|
"visibility" : "external"
|
||||||
@ -168,8 +164,6 @@
|
|||||||
{
|
{
|
||||||
"attributes" :
|
"attributes" :
|
||||||
{
|
{
|
||||||
"constant" : true,
|
|
||||||
"payable" : false,
|
|
||||||
"stateMutability" : "view",
|
"stateMutability" : "view",
|
||||||
"type" : "function () view external returns (uint256)",
|
"type" : "function () view external returns (uint256)",
|
||||||
"visibility" : "external"
|
"visibility" : "external"
|
||||||
|
@ -143,7 +143,6 @@
|
|||||||
"id" : 10,
|
"id" : 10,
|
||||||
"implemented" : true,
|
"implemented" : true,
|
||||||
"isConstructor" : false,
|
"isConstructor" : false,
|
||||||
"isDeclaredConst" : false,
|
|
||||||
"modifiers" : [],
|
"modifiers" : [],
|
||||||
"name" : "f",
|
"name" : "f",
|
||||||
"nodeType" : "FunctionDefinition",
|
"nodeType" : "FunctionDefinition",
|
||||||
@ -154,7 +153,6 @@
|
|||||||
"parameters" : [],
|
"parameters" : [],
|
||||||
"src" : "23:2:1"
|
"src" : "23:2:1"
|
||||||
},
|
},
|
||||||
"payable" : false,
|
|
||||||
"returnParameters" :
|
"returnParameters" :
|
||||||
{
|
{
|
||||||
"id" : 2,
|
"id" : 2,
|
||||||
|
@ -38,7 +38,6 @@
|
|||||||
{
|
{
|
||||||
"attributes" :
|
"attributes" :
|
||||||
{
|
{
|
||||||
"constant" : false,
|
|
||||||
"documentation" : null,
|
"documentation" : null,
|
||||||
"implemented" : true,
|
"implemented" : true,
|
||||||
"isConstructor" : false,
|
"isConstructor" : false,
|
||||||
@ -47,7 +46,6 @@
|
|||||||
null
|
null
|
||||||
],
|
],
|
||||||
"name" : "f",
|
"name" : "f",
|
||||||
"payable" : false,
|
|
||||||
"scope" : 11,
|
"scope" : 11,
|
||||||
"stateMutability" : "nonpayable",
|
"stateMutability" : "nonpayable",
|
||||||
"superFunction" : null,
|
"superFunction" : null,
|
||||||
|
@ -149,7 +149,6 @@
|
|||||||
"id" : 13,
|
"id" : 13,
|
||||||
"implemented" : true,
|
"implemented" : true,
|
||||||
"isConstructor" : false,
|
"isConstructor" : false,
|
||||||
"isDeclaredConst" : false,
|
|
||||||
"modifiers" : [],
|
"modifiers" : [],
|
||||||
"name" : "f",
|
"name" : "f",
|
||||||
"nodeType" : "FunctionDefinition",
|
"nodeType" : "FunctionDefinition",
|
||||||
@ -160,7 +159,6 @@
|
|||||||
"parameters" : [],
|
"parameters" : [],
|
||||||
"src" : "33:2:1"
|
"src" : "33:2:1"
|
||||||
},
|
},
|
||||||
"payable" : false,
|
|
||||||
"returnParameters" :
|
"returnParameters" :
|
||||||
{
|
{
|
||||||
"id" : 5,
|
"id" : 5,
|
||||||
|
@ -80,7 +80,6 @@
|
|||||||
{
|
{
|
||||||
"attributes" :
|
"attributes" :
|
||||||
{
|
{
|
||||||
"constant" : false,
|
|
||||||
"documentation" : null,
|
"documentation" : null,
|
||||||
"implemented" : true,
|
"implemented" : true,
|
||||||
"isConstructor" : false,
|
"isConstructor" : false,
|
||||||
@ -89,7 +88,6 @@
|
|||||||
null
|
null
|
||||||
],
|
],
|
||||||
"name" : "f",
|
"name" : "f",
|
||||||
"payable" : false,
|
|
||||||
"scope" : 14,
|
"scope" : 14,
|
||||||
"stateMutability" : "nonpayable",
|
"stateMutability" : "nonpayable",
|
||||||
"superFunction" : null,
|
"superFunction" : null,
|
||||||
|
@ -98,7 +98,6 @@
|
|||||||
"id" : 13,
|
"id" : 13,
|
||||||
"implemented" : true,
|
"implemented" : true,
|
||||||
"isConstructor" : false,
|
"isConstructor" : false,
|
||||||
"isDeclaredConst" : false,
|
|
||||||
"modifiers" :
|
"modifiers" :
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@ -153,7 +152,6 @@
|
|||||||
"parameters" : [],
|
"parameters" : [],
|
||||||
"src" : "49:2:1"
|
"src" : "49:2:1"
|
||||||
},
|
},
|
||||||
"payable" : false,
|
|
||||||
"returnParameters" :
|
"returnParameters" :
|
||||||
{
|
{
|
||||||
"id" : 11,
|
"id" : 11,
|
||||||
|
@ -102,12 +102,10 @@
|
|||||||
{
|
{
|
||||||
"attributes" :
|
"attributes" :
|
||||||
{
|
{
|
||||||
"constant" : false,
|
|
||||||
"documentation" : null,
|
"documentation" : null,
|
||||||
"implemented" : true,
|
"implemented" : true,
|
||||||
"isConstructor" : false,
|
"isConstructor" : false,
|
||||||
"name" : "F",
|
"name" : "F",
|
||||||
"payable" : false,
|
|
||||||
"scope" : 14,
|
"scope" : 14,
|
||||||
"stateMutability" : "nonpayable",
|
"stateMutability" : "nonpayable",
|
||||||
"superFunction" : null,
|
"superFunction" : null,
|
||||||
|
@ -98,7 +98,6 @@
|
|||||||
"id" : 13,
|
"id" : 13,
|
||||||
"implemented" : true,
|
"implemented" : true,
|
||||||
"isConstructor" : false,
|
"isConstructor" : false,
|
||||||
"isDeclaredConst" : false,
|
|
||||||
"modifiers" :
|
"modifiers" :
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@ -153,7 +152,6 @@
|
|||||||
"parameters" : [],
|
"parameters" : [],
|
||||||
"src" : "49:2:1"
|
"src" : "49:2:1"
|
||||||
},
|
},
|
||||||
"payable" : false,
|
|
||||||
"returnParameters" :
|
"returnParameters" :
|
||||||
{
|
{
|
||||||
"id" : 11,
|
"id" : 11,
|
||||||
|
@ -102,12 +102,10 @@
|
|||||||
{
|
{
|
||||||
"attributes" :
|
"attributes" :
|
||||||
{
|
{
|
||||||
"constant" : false,
|
|
||||||
"documentation" : null,
|
"documentation" : null,
|
||||||
"implemented" : true,
|
"implemented" : true,
|
||||||
"isConstructor" : false,
|
"isConstructor" : false,
|
||||||
"name" : "F",
|
"name" : "F",
|
||||||
"payable" : false,
|
|
||||||
"scope" : 14,
|
"scope" : 14,
|
||||||
"stateMutability" : "nonpayable",
|
"stateMutability" : "nonpayable",
|
||||||
"superFunction" : null,
|
"superFunction" : null,
|
||||||
|
@ -90,7 +90,6 @@
|
|||||||
"id" : 7,
|
"id" : 7,
|
||||||
"implemented" : true,
|
"implemented" : true,
|
||||||
"isConstructor" : false,
|
"isConstructor" : false,
|
||||||
"isDeclaredConst" : false,
|
|
||||||
"modifiers" : [],
|
"modifiers" : [],
|
||||||
"name" : "f",
|
"name" : "f",
|
||||||
"nodeType" : "FunctionDefinition",
|
"nodeType" : "FunctionDefinition",
|
||||||
@ -101,7 +100,6 @@
|
|||||||
"parameters" : [],
|
"parameters" : [],
|
||||||
"src" : "23:2:1"
|
"src" : "23:2:1"
|
||||||
},
|
},
|
||||||
"payable" : false,
|
|
||||||
"returnParameters" :
|
"returnParameters" :
|
||||||
{
|
{
|
||||||
"id" : 2,
|
"id" : 2,
|
||||||
|
@ -38,7 +38,6 @@
|
|||||||
{
|
{
|
||||||
"attributes" :
|
"attributes" :
|
||||||
{
|
{
|
||||||
"constant" : false,
|
|
||||||
"documentation" : null,
|
"documentation" : null,
|
||||||
"implemented" : true,
|
"implemented" : true,
|
||||||
"isConstructor" : false,
|
"isConstructor" : false,
|
||||||
@ -47,7 +46,6 @@
|
|||||||
null
|
null
|
||||||
],
|
],
|
||||||
"name" : "f",
|
"name" : "f",
|
||||||
"payable" : false,
|
|
||||||
"scope" : 8,
|
"scope" : 8,
|
||||||
"stateMutability" : "nonpayable",
|
"stateMutability" : "nonpayable",
|
||||||
"superFunction" : null,
|
"superFunction" : null,
|
||||||
|
@ -94,7 +94,6 @@
|
|||||||
"id" : 9,
|
"id" : 9,
|
||||||
"implemented" : true,
|
"implemented" : true,
|
||||||
"isConstructor" : false,
|
"isConstructor" : false,
|
||||||
"isDeclaredConst" : false,
|
|
||||||
"modifiers" : [],
|
"modifiers" : [],
|
||||||
"name" : "f",
|
"name" : "f",
|
||||||
"nodeType" : "FunctionDefinition",
|
"nodeType" : "FunctionDefinition",
|
||||||
@ -105,7 +104,6 @@
|
|||||||
"parameters" : [],
|
"parameters" : [],
|
||||||
"src" : "23:2:1"
|
"src" : "23:2:1"
|
||||||
},
|
},
|
||||||
"payable" : false,
|
|
||||||
"returnParameters" :
|
"returnParameters" :
|
||||||
{
|
{
|
||||||
"id" : 2,
|
"id" : 2,
|
||||||
|
@ -38,7 +38,6 @@
|
|||||||
{
|
{
|
||||||
"attributes" :
|
"attributes" :
|
||||||
{
|
{
|
||||||
"constant" : false,
|
|
||||||
"documentation" : null,
|
"documentation" : null,
|
||||||
"implemented" : true,
|
"implemented" : true,
|
||||||
"isConstructor" : false,
|
"isConstructor" : false,
|
||||||
@ -47,7 +46,6 @@
|
|||||||
null
|
null
|
||||||
],
|
],
|
||||||
"name" : "f",
|
"name" : "f",
|
||||||
"payable" : false,
|
|
||||||
"scope" : 10,
|
"scope" : 10,
|
||||||
"stateMutability" : "nonpayable",
|
"stateMutability" : "nonpayable",
|
||||||
"superFunction" : null,
|
"superFunction" : null,
|
||||||
|
@ -106,7 +106,6 @@
|
|||||||
"id" : 10,
|
"id" : 10,
|
||||||
"implemented" : true,
|
"implemented" : true,
|
||||||
"isConstructor" : false,
|
"isConstructor" : false,
|
||||||
"isDeclaredConst" : false,
|
|
||||||
"modifiers" : [],
|
"modifiers" : [],
|
||||||
"name" : "f",
|
"name" : "f",
|
||||||
"nodeType" : "FunctionDefinition",
|
"nodeType" : "FunctionDefinition",
|
||||||
@ -117,7 +116,6 @@
|
|||||||
"parameters" : [],
|
"parameters" : [],
|
||||||
"src" : "23:2:1"
|
"src" : "23:2:1"
|
||||||
},
|
},
|
||||||
"payable" : false,
|
|
||||||
"returnParameters" :
|
"returnParameters" :
|
||||||
{
|
{
|
||||||
"id" : 2,
|
"id" : 2,
|
||||||
|
@ -38,7 +38,6 @@
|
|||||||
{
|
{
|
||||||
"attributes" :
|
"attributes" :
|
||||||
{
|
{
|
||||||
"constant" : false,
|
|
||||||
"documentation" : null,
|
"documentation" : null,
|
||||||
"implemented" : true,
|
"implemented" : true,
|
||||||
"isConstructor" : false,
|
"isConstructor" : false,
|
||||||
@ -47,7 +46,6 @@
|
|||||||
null
|
null
|
||||||
],
|
],
|
||||||
"name" : "f",
|
"name" : "f",
|
||||||
"payable" : false,
|
|
||||||
"scope" : 11,
|
"scope" : 11,
|
||||||
"stateMutability" : "nonpayable",
|
"stateMutability" : "nonpayable",
|
||||||
"superFunction" : null,
|
"superFunction" : null,
|
||||||
|
@ -128,7 +128,6 @@
|
|||||||
"id" : 10,
|
"id" : 10,
|
||||||
"implemented" : true,
|
"implemented" : true,
|
||||||
"isConstructor" : false,
|
"isConstructor" : false,
|
||||||
"isDeclaredConst" : false,
|
|
||||||
"modifiers" : [],
|
"modifiers" : [],
|
||||||
"name" : "f",
|
"name" : "f",
|
||||||
"nodeType" : "FunctionDefinition",
|
"nodeType" : "FunctionDefinition",
|
||||||
@ -139,7 +138,6 @@
|
|||||||
"parameters" : [],
|
"parameters" : [],
|
||||||
"src" : "23:2:1"
|
"src" : "23:2:1"
|
||||||
},
|
},
|
||||||
"payable" : false,
|
|
||||||
"returnParameters" :
|
"returnParameters" :
|
||||||
{
|
{
|
||||||
"id" : 2,
|
"id" : 2,
|
||||||
|
@ -38,7 +38,6 @@
|
|||||||
{
|
{
|
||||||
"attributes" :
|
"attributes" :
|
||||||
{
|
{
|
||||||
"constant" : false,
|
|
||||||
"documentation" : null,
|
"documentation" : null,
|
||||||
"implemented" : true,
|
"implemented" : true,
|
||||||
"isConstructor" : false,
|
"isConstructor" : false,
|
||||||
@ -47,7 +46,6 @@
|
|||||||
null
|
null
|
||||||
],
|
],
|
||||||
"name" : "f",
|
"name" : "f",
|
||||||
"payable" : false,
|
|
||||||
"scope" : 11,
|
"scope" : 11,
|
||||||
"stateMutability" : "nonpayable",
|
"stateMutability" : "nonpayable",
|
||||||
"superFunction" : null,
|
"superFunction" : null,
|
||||||
|
Loading…
Reference in New Issue
Block a user