We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47ba19c commit 6ba9bc7Copy full SHA for 6ba9bc7
compiler/test/dotty/tools/dotc/printing/SyntaxHighlightingTests.scala
@@ -39,8 +39,8 @@ class SyntaxHighlightingTests extends DottyTest {
39
test("type Foo", "<K|type> <T|Foo>")
40
test("type Foo =", "<K|type> <T|Foo> =")
41
test("type Foo = Int", "<K|type> <T|Foo> = <T|Int>")
42
- test("type A = String | Int", "<K|type> <T|A> = <T|String | Int>")
43
- test("type B = String & Int", "<K|type> <T|B> = <T|String & Int>")
+ test("type A = String | Int", "<K|type> <T|A> = <T|String> <T||> <T|Int>")
+ test("type B = String & Int", "<K|type> <T|B> = <T|String> <T|&> <T|Int>")
44
}
45
46
@Test
0 commit comments