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.
1 parent 002f4b2 commit a2dc623Copy full SHA for a2dc623
compiler/src/dotty/tools/dotc/core/Types.scala
@@ -4327,7 +4327,7 @@ object Types {
4327
case et: ExprType => true
4328
case _ => false
4329
}
4330
- if ((tp.cls.is(Trait)) || zeroParams(tp.cls.primaryConstructor.info)) tp // !!! needs to be adapted once traits have parameters
+ if (tp.cls.is(Trait) || zeroParams(tp.cls.primaryConstructor.info)) tp // !!! needs to be adapted once traits have parameters
4331
else NoType
4332
case tp: AppliedType =>
4333
zeroParamClass(tp.superType)
0 commit comments