Open
Description
Describe the bug
This shows up in the CompletionDocSuite:
check(
"scala1",
"""
|object A {
| List(1).iterator.sliding@@
|}
""".stripMargin,
"""|sliding[B >: Int](size: Int, step: Int = 1): Iterator[Int]#GroupedIterator[B]
|""".stripMargin,
compat = Map(
"3" ->
"""|sliding[B >: Int](size: Int, step: Int = 1): $1$.GroupedIterator[B]
|""".stripMargin
)
)
There should ideally be no difference between the main expectation and the Scala 3 one
Expected behavior
Iterator[Int]#GroupedIterator[B]
is shown.
Operating system
Linux
Editor/Extension
VS Code
Version of Metals
v0.11.5
Extra context or search terms
completions iterator sliding