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
3 changed files with 6 additions and 1 deletions
+4
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
------------
@@ -463,7 +463,7 @@
"documentation" : null,
"id" : 36,
"implemented" : true,
"isConstructor" : false,
"kind" : "function",
"modifiers" : [],
"name" : "f",
"nodeType" : "FunctionDefinition",
@@ -93,6 +93,7 @@
"documentation" : null,
"implemented" : true,
"isConstructor" : false,
"kind" : "function",
"modifiers" :
[
null