Skip to content

Commit 81de544

Browse files
committed
Drop redundant expandThrowsAlias
1 parent 5fcd976 commit 81de544

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler/src/dotty/tools/dotc/cc/Setup.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,7 @@ extends tpd.TreeTraverser:
124124
isTopLevel = false
125125
try ts.mapConserve(this) finally isTopLevel = saved
126126

127-
def apply(t: Type) =
128-
val tp = expandThrowsAlias(t)
127+
def apply(tp: Type) =
129128
val tp1 = tp match
130129
case AnnotatedType(parent, annot) if annot.symbol == defn.RetainsAnnot =>
131130
// Drop explicit retains annotations

0 commit comments

Comments
 (0)