We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ThisName
self.ThisName
1 parent 9d55e41 commit f1bcacdCopy full SHA for f1bcacd
compiler/src/dotty/tools/dotc/core/Names.scala
@@ -40,10 +40,10 @@ object Names {
40
* 3. Names are intended to be encoded strings. @see dotc.util.NameTransformer.
41
* The encoding will be applied when converting a string to a name.
42
*/
43
- abstract class Name extends DotClass with PreName {
+ abstract class Name extends DotClass with PreName { self =>
44
45
/** A type for names of the same kind as this name */
46
- type ThisName <: Name
+ type ThisName <: Name { type ThisName = self.ThisName }
47
48
/** Is this name a type name? */
49
def isTypeName: Boolean
0 commit comments