Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not support relative import. #27

Open
cmaliwal opened this issue May 14, 2018 · 0 comments
Open

Not support relative import. #27

cmaliwal opened this issue May 14, 2018 · 0 comments

Comments

@cmaliwal
Copy link

cmaliwal commented May 14, 2018

something is wrong in relative import .

├── BasicToken.sol
├── DeveloperCrowdsale.sol
├── Crowdsale.sol
├── ERC20Basic.sol
├── ERC20.sol
├── Migrations.sol
├── MintableToken.sol
├── Ownable.sol
├── SafeMath.sol
├── StandardToken.sol
├── verify.sol
└── WhiteListAccess.sol
contract BasicToken is ERC20Basic {

}

contract DeveloperCrowdsale is Ownable, WhiteListAccess, Crowdsale, MintableToken {
 
 }
contract Crowdsale is Ownable {

}
contract ERC20 {
 
 }
contract ERC20Basic {

}
contract MintableToken is StandardToken, Ownable {

}
contract Ownable {

}
 library SafeMath {
 
 }
 contract StandardToken is ERC20, BasicToken {
 
 }

 contract WhiteListAccess is Ownable {
 
 }

so when I run this command :

solidity_flattener DeveloperCrowdsale.sol

it includes on Ownable, WhiteListAccess, Crowdsale and MintableToken token contract, not inclue ERC20, ERC20Basic, BasicToken contract code.

@cmaliwal cmaliwal changed the title Not support , import from sub contract. Not support relative import. May 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant