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
In #16157, -Wunused:params do not report trivial methods. These are currently identified as in Scala 2, i.e. by checking if their right hand side type is either: a constant type, single type, a literal, etc. See this comment.
The idea is to give a concrete formal definition of trivial methods, and update the code that identify them here .
Here's an idea of a trivial method:
deffoo(a: Int, b: String) =???
The text was updated successfully, but these errors were encountered:
In #16157,
-Wunused:params
do not report trivial methods. These are currently identified as in Scala 2, i.e. by checking if their right hand side type is either: a constant type, single type, a literal, etc. See this comment.The idea is to give a concrete formal definition of trivial methods, and update the code that identify them here .
Here's an idea of a trivial method:
The text was updated successfully, but these errors were encountered: