Conversation
f0edb95 to
11a7c37
Compare
|
|
||
| void ReferencesResolver::endVisit(VariableDeclaration const& _variable) | ||
| { | ||
| bool isStateVariable = dynamic_cast<VariableDeclaration const*>(&_variable); |
There was a problem hiding this comment.
| bool isStateVariable = dynamic_cast<VariableDeclaration const*>(&_variable); | |
| bool isStateVariable = dynamic_cast<StateVariableDeclaration const*>(&_variable); |
?
There was a problem hiding this comment.
That's a defect ;-) Thanks!
There was a problem hiding this comment.
It's interesting compiler errors in CI: the compiler can assume that the address of ‘_variable’ will never be NULL - never seen those, but it's legit :-)!
11a7c37 to
ea0d331
Compare
|
There was an error when running Please check that your changes are working as intended. |
|
I think that this goes into the right direction now. There are some parts which need some more thoughts (e.g. how to handle comments on non-state-variables, see commented code in |
|
Replaced by #8532 |
Fixes #3418.
Checklist