Skip to content

Commit 56a7b5f

Browse files
oderskytanishiking
authored andcommitted
Strengthen argument type of opaqueToBounds
1 parent dcd1099 commit 56a7b5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ object SymDenotations {
407407
* @param tparams The type parameters with which the right-hand side bounds should be abstracted
408408
*
409409
*/
410-
def opaqueToBounds(info: Type, rhs: tpd.Tree, tparams: List[TypeParamInfo])(using Context): Type =
410+
def opaqueToBounds(info: Type, rhs: tpd.Tree, tparams: List[TypeSymbol])(using Context): Type =
411411

412412
def setAlias(tp: Type) =
413413
def recur(self: Type): Unit = self match

0 commit comments

Comments
 (0)