File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
compiler/src/dotty/tools/dotc Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ object Config {
161
161
final val showCompletions = false
162
162
163
163
/** If set, enables tracing */
164
- final val tracingEnabled = false
164
+ final val tracingEnabled = true
165
165
166
166
/** Initial capacity of uniques HashMap.
167
167
* Note: This MUST BE a power of two to work with util.HashSet
Original file line number Diff line number Diff line change @@ -211,7 +211,10 @@ class TypeApplications(val self: Type) extends AnyVal {
211
211
212
212
/** Is self type of kind "*"? */
213
213
def hasSimpleKind (implicit ctx : Context ): Boolean =
214
- typeParams.isEmpty && ! self.hasAnyKind
214
+ typeParams.isEmpty && ! self.hasAnyKind || {
215
+ val alias = self.dealias
216
+ (alias ne self) && alias.hasSimpleKind
217
+ }
215
218
216
219
/** If self type is higher-kinded, its result type, otherwise NoType.
217
220
* Note: The hkResult of an any-kinded type is again AnyKind.
You can’t perform that action at this time.
0 commit comments