Skip to content

Commit

Permalink
Merge pull request scala#15476 from som-snytt/tweak/old-comment
Browse files Browse the repository at this point in the history
Update obsolete comment in Decorators
  • Loading branch information
bishabosha authored Jun 20, 2022
2 parents b2cf192 + 5fa5a48 commit 2636cc1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions compiler/src/dotty/tools/dotc/core/Decorators.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2636cc1

Please sign in to comment.