We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1a0d62 commit 2b96e8eCopy full SHA for 2b96e8e
compiler/src/dotty/tools/repl/ReplCompiler.scala
@@ -88,7 +88,7 @@ class ReplCompiler extends Compiler {
88
var valIdx = state.valIndex
89
val defs = new mutable.ListBuffer[Tree]
90
91
- /** If the user inputs a definition that's name is of the form REPL_RES_PREFIX and a number,
+ /** If the user inputs a definition whose name is of the form REPL_RES_PREFIX and a number,
92
* such as `val res9 = 1`, we bump `valIdx` to avoid name clashes. lampepfl/dotty#3536 */
93
def maybeBumpValIdx(tree: Tree): Unit = tree match
94
case tuple: Tuple => for t <- tuple.trees do maybeBumpValIdx(t)
0 commit comments