We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b2cf192 + 5fa5a48 commit 2636cc1Copy full SHA for 2636cc1
compiler/src/dotty/tools/dotc/core/Decorators.scala
@@ -13,10 +13,7 @@ import transform.MegaPhase
13
/** This object provides useful implicit decorators for types defined elsewhere */
14
object Decorators {
15
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.
+ /** Extension methods for toType/TermName methods on PreNames.
20
*/
21
extension (pn: PreName)
22
def toTermName: TermName = pn match
0 commit comments