intellij-ton
intellij-ton copied to clipboard
Wrongly assumed unused variable
trafficstars
Contract compiles if query id is declared here. Throws error if query id commented out. I have another query_id declaration inside one of the if branches, this could be related.
It's not clear how to reproduce the problem, can you provide a code example?
Can't remember exact details, but it was something like
int query_id = ...
if (x) {
int query_id = ...
}
call_func(query_id)