Skip to content

Support use with multiple compilers #338

@PaulRBerg

Description

@PaulRBerg

When running solidity-docgen in a project that uses multiple Solidity compilers, I am getting this error:

Error: Solidity was unable to compile. ParserError: Source file requires different compiler version (current compiler is
    0.8.9+commit.e5eed63a.Emscripten.clang) - note that nightly builds are considered to be strictly less than the released version
     --> contracts/uniswap-v2/UniswapV2Pair.sol:3:1:
      |
    3 | pragma solidity =0.5.16;
      | ^^^^^^^^^^^^^^^^^^^^^^^^

How could I use this tool with multiple Solidity compilers?

Side note: it might be worth it to enable discussions in this GitHub repository.

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