Skip to content

Commit a2dc623

Browse files
Update compiler/src/dotty/tools/dotc/core/Types.scala
1 parent 002f4b2 commit a2dc623

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/core/Types.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4327,7 +4327,7 @@ object Types {
43274327
case et: ExprType => true
43284328
case _ => false
43294329
}
4330-
if ((tp.cls.is(Trait)) || zeroParams(tp.cls.primaryConstructor.info)) tp // !!! needs to be adapted once traits have parameters
4330+
if (tp.cls.is(Trait) || zeroParams(tp.cls.primaryConstructor.info)) tp // !!! needs to be adapted once traits have parameters
43314331
else NoType
43324332
case tp: AppliedType =>
43334333
zeroParamClass(tp.superType)

0 commit comments

Comments
 (0)