Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.