educative.io

Main.java:537: error: cannot find symbol - even on empty solution

I’ve seen this error in multiple places. I was using the “report an issue” button maybe having it posted as a question is a better way.
Here is the error:
main.java:537: error: cannot find symbol
output += "“hidden”: " + (result.hidden ? “true” : “false”) + “,”;
^
symbol: variable hidden
location: variable result of type TestResult
1 error


Type your question above this line.

Course: https://www.educative.io/collection/5642554087309312/5679846214598656
Lesson: https://www.educative.io/collection/page/5642554087309312/5679846214598656/820001

Hi @Peter_Litvak , thanks for reaching out to us. The code widget showing this error is an exercise in which you have to write your code and run it through different test cases.

Once you put the code in it, it won’t give the error. If you still find this issue, then please do let me know. Thanks.

it shows the same error regardless, you can actually see it for yourself unless it is a temp state and resolves overtime

1 Like

Hi @Peter_Litvak , thank you so much for pointing it out, that issue has been resoloved. Thank you so much.