Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kasiaMarek committed Apr 24, 2024
1 parent 3d4d97d commit 3deb867
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,6 @@ object InteractiveEnrichments extends CommonMtagsEnrichments:
def deepDealias(using Context): Type =
tpe.dealias match
case app @ AppliedType(tycon, params) =>
// we dealias applied type params by hand, because `dealias` doesn't do it
AppliedType(tycon, params.map(_.deepDealias))
case aliasingBounds: AliasingBounds =>
aliasingBounds.derivedAlias(aliasingBounds.alias.dealias)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ class HoverTermSuite extends BaseHoverSuite:
|""".stripMargin
)

@Test def `dealias-type-members-in-structural-types-1`: Unit =
@Test def `dealias-type-members-in-structural-types1`: Unit =
check(
"""object Obj {
| trait A extends Sup { self =>
Expand All @@ -669,7 +669,7 @@ class HoverTermSuite extends BaseHoverSuite:
"""def member: Int""".stripMargin.hover
)

@Test def `dealias-type-members-in-structural-types-2`: Unit =
@Test def `dealias-type-members-in-structural-types2`: Unit =
check(
"""object Obj:
| trait A extends Sup { self =>
Expand Down

0 comments on commit 3deb867

Please # to comment.