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 b9cd92e commit 5fddb7fCopy full SHA for 5fddb7f
compiler/src/dotty/tools/dotc/core/Names.scala
@@ -35,10 +35,10 @@ object Names {
35
* in a name table. A derived term name adds a tag, and possibly a number
36
* or a further simple name to some other name.
37
*/
38
- abstract class Name extends Designator with PreName {
+ abstract class Name extends Designator with PreName { self =>
39
40
/** A type for names of the same kind as this name */
41
- type ThisName <: Name
+ type ThisName <: Name { type ThisName = self.ThisName }
42
43
/** Is this name a type name? */
44
def isTypeName: Boolean
0 commit comments