From 5fa5a48a5edf12fdeba4b4b8f7bd73acde07572f Mon Sep 17 00:00:00 2001 From: Som Snytt Date: Sun, 19 Jun 2022 00:48:11 -0700 Subject: [PATCH] Update obsolete comment in Decorators --- compiler/src/dotty/tools/dotc/core/Decorators.scala | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/compiler/src/dotty/tools/dotc/core/Decorators.scala b/compiler/src/dotty/tools/dotc/core/Decorators.scala index 14a9d884cf9c..93a0a38ffc57 100644 --- a/compiler/src/dotty/tools/dotc/core/Decorators.scala +++ b/compiler/src/dotty/tools/dotc/core/Decorators.scala @@ -13,10 +13,7 @@ import transform.MegaPhase /** This object provides useful implicit decorators for types defined elsewhere */ object Decorators { - /** Extension methods for toType/TermName methods on strings. - * They are in an implicit object for now, so that we can import decorators - * with a normal wildcard. In the future, once #9255 is in trunk, replace with - * a simple collective extension. + /** Extension methods for toType/TermName methods on PreNames. */ extension (pn: PreName) def toTermName: TermName = pn match