Skip to content

Commit 2636cc1

Browse files
authored
Merge pull request #15476 from som-snytt/tweak/old-comment
Update obsolete comment in Decorators
2 parents b2cf192 + 5fa5a48 commit 2636cc1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

compiler/src/dotty/tools/dotc/core/Decorators.scala

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@ import transform.MegaPhase
1313
/** This object provides useful implicit decorators for types defined elsewhere */
1414
object Decorators {
1515

16-
/** Extension methods for toType/TermName methods on strings.
17-
* They are in an implicit object for now, so that we can import decorators
18-
* with a normal wildcard. In the future, once #9255 is in trunk, replace with
19-
* a simple collective extension.
16+
/** Extension methods for toType/TermName methods on PreNames.
2017
*/
2118
extension (pn: PreName)
2219
def toTermName: TermName = pn match

0 commit comments

Comments
 (0)