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
/** A `Scope` containing directly declared members of this type.
* Unlike `members` this method doesn't returns inherited members.
*
* Members in the returned scope might appear in arbitrary order.
* Use `declarations.sorted` to get an ordered list of members.
*/
def decls: MemberScope
/** A `Scope` containing all members of this type (directly declared or inherited).
* Unlike `declarations` this method also returns inherited members.
*
* Members in the returned scope might appear in arbitrary order.
* Use `declarations.sorted` to get an ordered list of members.
*/
def members: MemberScope
It should be Use decls.sorted and Use members.sorted instead.
The text was updated successfully, but these errors were encountered:
Scala 2.12.10 and 2.13.1 for both Types.TypeApi decls and members mentions
declarations.sorted
.See also https://www.scala-lang.org/api/current/scala-reflect/scala/reflect/api/Types$TypeApi.html#decls:Types.this.MemberScope
It should be Use
decls.sorted
and Usemembers.sorted
instead.The text was updated successfully, but these errors were encountered: