Skip to content

ParserError: extraneous input '{' expecting ')' #320

@mrq1911

Description

@mrq1911

solidity-coverage 0.6.0-beta.5 from #318 is unable to instrument statements without enclosing blocks, like for example:

if (number == 1337) return "elite";

throws ParserError: extraneous input '{' expecting ')'

issue doesn't arise when enclosing block is added, but instrumenting should add block correctly automatically

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions