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