BlockCatIO / solidity-flattener

A python utility to flatten Solidity code with imports into a single file.
MIT License
267 stars 98 forks source link

{name} was defined multiple times #10

Open owocki opened 6 years ago

owocki commented 6 years ago

This is what I get when I try to flatten BountyIndex.sol

kevinowocki@local /Users/kevinowocki/Sites/gitcoin/smart_contracts/contracts/bounty~ % solidity_flattener BountyIndex.sol
  File "/usr/local/bin/solidity_flattener", line 27
    print("FATAL: '{name}' was defined multiple times. Aborting.".format(name=contract_name), file=sys.stderr)

version info: /usr/local/lib/python3.6/site-packages