We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using for
In the following example the last id() call isn't resolved.
id()
enum Answer { Yes } library Id { function id(Answer ans) returns (Answer) { return ans; } } contract Test { using Id for Answer; function testFunc() returns (Answer) { Answer.Yes.id(); } }
EDIT: if the enum member is first stored Answer value = Answer.Yes; value.id(), then it works.
Answer value = Answer.Yes; value.id()
The text was updated successfully, but these errors were encountered:
typeof(<enum>).min
max
<enum>.<member>
ggiraldez
beta-ziliani
No branches or pull requests
In the following example the last
id()
call isn't resolved.EDIT: if the enum member is first stored
Answer value = Answer.Yes; value.id()
, then it works.The text was updated successfully, but these errors were encountered: