You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the same name class exist in the same package, click run in codelen, compile will not pass, problem pannel will display "type is already defined" error, click this navigation to related code line, the error(Red wavy line) auto disappear and never show again. but it is a error, it will be always warnning.
Related gif:
[Please attach a sample project reproducing the error] Please attach logs
Current Result
When the same name class exist in the same package, it is a error, it will be always warnning, navigation to relative code line, the error auto disappear and never show again until reopen VScode next time.
Expected Result
When the same name class exist in the same package, it is a error, it will be always warnning.
Additional Informations
The text was updated successfully, but these errors were encountered:
I just noticed this is a duplicate of #1111. I explain what's happening at #1111 (comment) (and the previous comment). The way we collect diagnostics has a risk of hiding diagnostics at the file-level that can only be reported through a full compilation.
[provide a description of the issue]
Environment
Steps To Reproduce
[Please attach a sample project reproducing the error]
Please attach logs
Current Result
When the same name class exist in the same package, it is a error, it will be always warnning, navigation to relative code line, the error auto disappear and never show again until reopen VScode next time.
Expected Result
When the same name class exist in the same package, it is a error, it will be always warnning.
Additional Informations
The text was updated successfully, but these errors were encountered: