Skip to content

Error: Contract could not be compiled. Try another pragma solidity version. #27

@gpersoon

Description

@gpersoon

When trying to use some source i got the error: "Error: Contract could not be compiled. Try another pragma solidity version.". After eliminating it turns out the following contact is causing the error:

pragma solidity ^0.5.0;
import "./test.sol";

The developer console contains

bundle.js:48855 TypeError: Cannot read property 'legacyAssembly' of undefined
bundle.js:48856 [ERROR] parse standard output error
bundle.js:49459 Error: pretest failed

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