Skip to content

Linking fails for libraries with underscors in their names. #733

@pipermerriam

Description

@pipermerriam

It appears that the --link functionality is unable to handle library names that contain underscores.

// TestContract.sol
library Has_Underscores { function x() {} }


contract C {
    function doit() {
        Has_Underscores.x();
    }
}

And trying to compile it...

$ solc TestContract.sol --bin | solc --libraries Has_Underscores:0x6c8f2a135f6ed072de4503bd7c4999a1a17f824b --link
Error in binary object file <stdin> at position 200

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions