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
//>usingscala3.nightly//>usingoption-Wunused:all@main defrun=valveryUnusedVariable:Int=???// unused local definitionprivatedefveryUnusedMethod(x: Int):Unit=???// no unused definition reportedprivatevalveryUnusedVariableToplevel:Unit=???// no unused definition reported
Expectation
//>usingscala3.nightly//>usingoption-Wunused:all@main defrun=valveryUnusedVariable:Int=???// unused local definitionprivatedefveryUnusedMethod(x: Int):Unit=???// unused local definitionprivatevalveryUnusedVariableToplevel:Unit=???// unused local definition
The text was updated successfully, but these errors were encountered:
Compiler version
3.5.1-RC1-bin-20240602-c6fbe6f-NIGHTLY
Minimized code
Top level private definitions are not reported as unused.
Output
Expectation
The text was updated successfully, but these errors were encountered: