Merge pull request #5172 from ethereum/fixKind

Fix kind
This commit is contained in:
Alex Beregszaszi 2018-10-09 01:25:08 +01:00 committed by GitHub
commit 4ab2e03be3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 1 deletions

View File

@ -154,6 +154,10 @@ Command Line and JSON Interfaces
* The JSON AST fields ``constant`` and ``payable`` were removed. The
information is now present in the ``stateMutability`` field.
* The JSON AST field ``isConstructor`` of the ``FunctionDefinition``
node was replaced by a field called ``kind`` which can have the
value ``"constructor"``, ``"fallback"`` or ``"function"``.
Constructors
------------

View File

@ -463,7 +463,7 @@
"documentation" : null,
"id" : 36,
"implemented" : true,
"isConstructor" : false,
"kind" : "function",
"modifiers" : [],
"name" : "f",
"nodeType" : "FunctionDefinition",

View File

@ -93,6 +93,7 @@
"documentation" : null,
"implemented" : true,
"isConstructor" : false,
"kind" : "function",
"modifiers" :
[
null