Skip to content

Add state checks in ComplerStack (to avoid crash)#2263

Merged
pirapira merged 2 commits intodevelopfrom
compilerstack
May 11, 2017
Merged

Add state checks in ComplerStack (to avoid crash)#2263
pirapira merged 2 commits intodevelopfrom
compilerstack

Conversation

@axic
Copy link
Contributor

@axic axic commented May 11, 2017

No description provided.


Json::Value const& CompilerStack::metadata(string const& _contractName, DocumentationType _type) const
{
if (m_stackState < AnalysisSuccessful)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not needed as it is checked in metadata(Contract).

Copy link
Contributor

@pirapira pirapira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@pirapira pirapira merged commit 242e431 into develop May 11, 2017
@pirapira pirapira deleted the compilerstack branch May 11, 2017 12:11
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

Successfully merging this pull request may close these issues.

2 participants