Skip to content

Commit 7951984

Browse files
committed
Use correct methods to get super interfaces of a class.
1 parent 1411e2d commit 7951984

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotty/tools/backend/jvm/DottyBackendInterface.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ class DottyBackendInterface()(implicit ctx: Context) extends BackendInterface{
527527
* All interfaces implemented by a class, except for those inherited through the superclass.
528528
*
529529
*/
530-
def superInterfaces: List[Symbol] = sym.mixins
530+
def superInterfaces: List[Symbol] = decorateSymbol(sym).superInterfaces
531531

532532
/**
533533
* True for module classes of package level objects. The backend will generate a mirror class for

0 commit comments

Comments
 (0)