You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
Issue
Error compiling a contract that depends on two different truffle projects, if these dependency projects have a contract with the same name.
Steps to Reproduce
Follow the steps in:
https://github.com/anxolin/truffle-dep-error
In the example I try to compile
CoolApp
contract that depends onDepA
contract (in./depA
project), andDepB
contract (in./depB
project).DepA
depends on a contract calledToken
, andDepB
depends on a different contract called alsoToken
.Since truffles tries to output the files in
truffle/contract
folder, it fails to compile the secondToken
contract.DeclarationError: Identifier already declared.
Expected Behavior
To be able to depend on different contracts with the same name.
Actual Results
DeclarationError: Identifier already declared.
Environment
N/A
The text was updated successfully, but these errors were encountered: