From 9cdafca3a0aa9e77d4ee66e7f80669ed90d5be40 Mon Sep 17 00:00:00 2001 From: Katarzyna Marek Date: Thu, 10 Aug 2023 13:06:45 +0200 Subject: [PATCH] chore: port `extension-methods-complex` test fix from dotty fix `HoverScala3TypeSuite.extension-methods-complex` test after https://github.com/lampepfl/dotty/commit/d521be5a7aae3eb62f06d8a3b57c51c04a21cea8 --- .../src/test/scala/tests/hover/HoverScala3TypeSuite.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cross/src/test/scala/tests/hover/HoverScala3TypeSuite.scala b/tests/cross/src/test/scala/tests/hover/HoverScala3TypeSuite.scala index 20717b2b529..b745bc7781c 100644 --- a/tests/cross/src/test/scala/tests/hover/HoverScala3TypeSuite.scala +++ b/tests/cross/src/test/scala/tests/hover/HoverScala3TypeSuite.scala @@ -144,7 +144,7 @@ class HoverScala3TypeSuite extends BaseHoverSuite { |class C |object Foo: | extension [T](using A)(s: T)(using B) - | def double[G](using C)(times: G) = (s.toString + s.toString) * times + | def double[G <: Int](using C)(times: G) = (s.toString + s.toString) * times | end extension | given A with {} | given B with {} @@ -152,7 +152,7 @@ class HoverScala3TypeSuite extends BaseHoverSuite { | "".<> |end Foo |""".stripMargin, - "extension [T](using A)(s: T) def double(using B)[G](using C)(times: G): String".hover, + "extension [T](using A)(s: T) def double(using B)[G <: Int](using C)(times: G): String".hover, ) check(