Skip to content

Commit 19d35ff

Browse files
Update compiler/src/dotty/tools/dotc/ast/tpd.scala
1 parent 6bff3ba commit 19d35ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/ast/tpd.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ object tpd extends Trees.Instance[Type] with TypedTreeInfo {
285285
if (cls.classInfo.selfInfo ne NoType) ValDef(ctx.newSelfSym(cls))
286286
else EmptyValDef
287287
def isOwnTypeParam(stat: Tree) =
288-
(stat.symbol.is(TypeParam)) && stat.symbol.owner == cls
288+
stat.symbol.is(TypeParam) && stat.symbol.owner == cls
289289
val bodyTypeParams = body filter isOwnTypeParam map (_.symbol)
290290
val newTypeParams =
291291
for (tparam <- cls.typeParams if !(bodyTypeParams contains tparam))

0 commit comments

Comments
 (0)