Skip to content

Commit e5cb7ee

Browse files
committed
Update SignatureHelpTest for the 2.13 stdlib
1 parent 3a2127d commit e5cb7ee

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

language-server/test/dotty/tools/languageserver/SignatureHelpTest.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ class SignatureHelpTest {
1919

2020
@Test def fromScala2: Unit = {
2121
val applySig =
22-
S("apply[A]", Nil, List(List(P("xs", "A*"))), Some("List[A]"))
22+
// TODO: Ideally this should say `List[A]`, not `CC[A]`
23+
S("apply[A]", Nil, List(List(P("elems", "A*"))), Some("CC[A]"))
2324
val mapSig =
24-
S("map[B, That]", Nil, List(List(P("f", "A => B"))), Some("That"))
25+
S("map[B]", Nil, List(List(P("f", "A => B"))), Some("List[B]"))
2526
code"""object O {
2627
List($m1)
2728
List(1, 2, 3).map($m2)

0 commit comments

Comments
 (0)