Created
May 27, 2020 14:34
-
-
Save JesseAbram/b508085d503126e3506dc08dc5a0e783 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library Storage { | |
struct Structing { | |
uint256 this; | |
mapping (uint256 => bool) that; | |
} // this does not require linking and is therefore embedding in contract demo? | |
function bePublic () public { | |
} // with this function library should not embed, yet it does not seem to work | |
} | |
contract demo { | |
Storage.Structing public structing; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment