From fb75d961475b4b321206b7e58dcf1ab86f16b683 Mon Sep 17 00:00:00 2001 From: odersky Date: Mon, 26 Sep 2022 23:39:32 +0200 Subject: [PATCH] Update compiler/src/dotty/tools/dotc/typer/RefChecks.scala --- compiler/src/dotty/tools/dotc/typer/RefChecks.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/src/dotty/tools/dotc/typer/RefChecks.scala b/compiler/src/dotty/tools/dotc/typer/RefChecks.scala index 9feff57ae806..3ca15ab976dd 100644 --- a/compiler/src/dotty/tools/dotc/typer/RefChecks.scala +++ b/compiler/src/dotty/tools/dotc/typer/RefChecks.scala @@ -265,7 +265,7 @@ object RefChecks { * 1.11. If O is a Scala-2 macro, M must be a Scala-2 macro. * 1.12. If O is non-experimental, M must be non-experimental. * 1.13 Under -source future, if O is a val parameter, M must be a val parameter - * that passes its on to O. + * that passes its value on to O. * 2. Check that only abstract classes have deferred members * 3. Check that concrete classes do not have deferred definitions * that are not implemented in a subclass.