Skip to content

Error when running SC on contracts using experimental ABIEncoderV2 #250

@marinatorras

Description

@marinatorras

I am running Solidity Coverage on a contract that uses structs with experimental ABIEncoderV2. The contract compiles and runs on Truffle, but when I run SC on it I get the following error:

SyntaxError: Expected comment, end of line, string, or whitespace but "A" found. Line: 2, Column: 21 Exiting without generating coverage...

The line where SC crashes is the following:

pragma experimental ABIEncoderV2;

I am currently running solidity-coverage version 0.4.15.
Let me know if there is any more information I can provide.

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions