Skip to content

Instantly share code, notes, and snippets.

@critesjosh
Created February 19, 2018 19:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save critesjosh/2fbace8145e4417ecb99cb9913b92069 to your computer and use it in GitHub Desktop.
Save critesjosh/2fbace8145e4417ecb99cb9913b92069 to your computer and use it in GitHub Desktop.
// This will not compile
pragma solidity ^0.4.0;
contract X {}
contract A is X {}
contract C is A, X {}
// This is ok
contract C is X, A {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment