We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fab9114 commit c676585Copy full SHA for c676585
language-server/test/dotty/tools/languageserver/HoverTest.scala
@@ -174,4 +174,18 @@ class HoverTest {
174
|}""".withSource
175
.hover(m1 to m2, hoverContent("Int", "hello"))
176
}
177
+
178
+ @Test def i4678: Unit = {
179
+ code"""class Foo {
180
+ | val x: Int = (${m1}1:${m2} ${m3}@annot1 @annot2 @annot3 @annot4 @annot5${m4})
181
+ |}
182
+ |class annot1 extends scala.annotation.Annotation
183
+ |class annot2 extends scala.annotation.Annotation
184
+ |class annot3 extends scala.annotation.Annotation
185
+ |class annot4 extends scala.annotation.Annotation
186
+ |class annot5 extends scala.annotation.Annotation
187
+ |""".withSource
188
+ .hover(m1 to m2, hoverContent("Int(1)"))
189
+ .hover(m3 to m4, hoverContent("Int(1) @annot1 @annot2 @annot3 @annot4 @annot5"))
190
+ }
191
0 commit comments