There was an error while loading. Please reload this page.
1 parent 989cf1b commit 2c8480dCopy full SHA for 2c8480d
compiler/src/dotty/tools/dotc/core/Scopes.scala
@@ -159,6 +159,7 @@ object Scopes {
159
160
/** The scope that keeps only those symbols from this scope that match the
161
* given predicates, renamed with the given rename function.
162
+ * If renaming is not needed for a symbol, the rename function should return `null`.
163
* If all symbols match and none are renamed, returns the scope itself, otherwise
164
* a copy with the matching and renamed symbols.
165
*/
0 commit comments