openzeppelin-contracts icon indicating copy to clipboard operation
openzeppelin-contracts copied to clipboard

Error: Definition of base has to precede definition of derived contract contract MintableToken is StandardToken, Ownable

Open parsparab opened this issue 9 years ago • 5 comments

Error: Definition of base has to precede definition of derived contract contract MintableToken is StandardToken, Ownable

parsparab avatar Sep 02 '17 16:09 parsparab

Hi @parsparab, thanks for reporting! What version of Solidity are you using?

frangio avatar Sep 02 '17 20:09 frangio

Hi @frangio , I'm using pragma solidity ^0.4.11; version, I guess which is compatible with all latest files.

parsparab avatar Sep 03 '17 14:09 parsparab

But can you tell us what specific compiler version produced this error? You can find out by doing truffle version or solc --version perhaps.

frangio avatar Sep 04 '17 03:09 frangio

I'm using solidity remix compiler.

parsparab avatar Sep 04 '17 03:09 parsparab

Closing because I haven't been able to reproduce the issue. I suspect @parsparab inlined their contracts in the wrong order.

frangio avatar Sep 18 '17 18:09 frangio