We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64319eb commit b23da16Copy full SHA for b23da16
compiler/src/dotty/tools/dotc/core/Scopes.scala
@@ -160,6 +160,7 @@ object Scopes {
160
161
/** The scope that keeps only those symbols from this scope that match the
162
* given predicates, renamed with the given rename function.
163
+ * If renaming is not needed for a symbol, the rename function should return `null`.
164
* If all symbols match and none are renamed, returns the scope itself, otherwise
165
* a copy with the matching and renamed symbols.
166
*/
0 commit comments