Skip to content

Compilation failure when whitespace between require and terminating semi-colon #882

@AntonGulak

Description

@AntonGulak

Hi again :)

Contracts compiled with Solidity 0.4.21 are failing to compile when they include require(bool) statements, resulting in a
ParserError: Expected token Semicolon got 'Identifier' error. Specifically, require(false) c_3a887c65(0x55bf89d8a3187e04); /* requirePost */ HardhatError: HH600: Compilation failed.

Compilation succeeds without coverage

Thank you for the quick response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions