mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 06:25:57 +00:00
Import directives and struct definitions don't really count as executed code
This commit is contained in:
parent
0230e29a8d
commit
f3857e4084
@ -127,9 +127,11 @@ class ContractSource {
|
||||
switch(node.nodeType) {
|
||||
case 'Assignment':
|
||||
case 'EventDefinition':
|
||||
case 'ImportDirective':
|
||||
case 'Literal':
|
||||
case 'PlaceholderStatement':
|
||||
case 'PragmaDirective':
|
||||
case 'StructDefinition':
|
||||
case 'VariableDeclaration':
|
||||
// We don't need to do anything with these. Just carry on.
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user