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
Compiler warnings like WARNING - [JSC_UNREACHABLE_CODE] unreachable code may often be suppressed by finding the corresponding diagnostic group and adding a @suppress tag, in this case @suppress {uselessCode}.
Compiler warnings like
WARNING - [JSC_UNREACHABLE_CODE] unreachable code
may often be suppressed by finding the corresponding diagnostic group and adding a@suppress
tag, in this case@suppress {uselessCode}
.We document the corresponding diagnostic groups at https://github.com/google/closure-compiler/wiki/@suppress-annotations#error-to-suppression-map but we would ideally make it even easier for users to suppress these kinds of warnings.
One idea is printing the diagnostic group
uselessCode
in the error message.This came up in #4113.
The text was updated successfully, but these errors were encountered: