Skip to content

Commit 10f9d4d

Browse files
committed
Adjust pc semantic token tests for betterFors
1 parent e0d5c9a commit 10f9d4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: presentation-compiler/test/dotty/tools/pc/tests/tokens/SemanticTokensSuite.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -350,9 +350,9 @@ class SemanticTokensSuite extends BaseSemanticTokensSuite:
350350
|
351351
|object <<B>>/*class*/ {
352352
| val <<a>>/*variable,definition,readonly*/ = for {
353-
| <<foo>>/*variable,definition,readonly*/ <- <<List>>/*class*/("a", "b", "c")
353+
| <<foo>>/*parameter,declaration,readonly*/ <- <<List>>/*class*/("a", "b", "c")
354354
| <<_>>/*class,abstract*/ = <<println>>/*method*/("print!")
355-
| } yield <<foo>>/*variable,readonly*/
355+
| } yield <<foo>>/*parameter,readonly*/
356356
|}
357357
|""".stripMargin
358358
)

0 commit comments

Comments
 (0)