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.
2 parents 63addda + 00cfe78 commit 40511bdCopy full SHA for 40511bd
test/highlight/scala3.scala
@@ -1,3 +1,28 @@
1
+// Optional braces syntax
2
+class C:
3
+// ^keyword
4
+// ^type.definition
5
+
6
+ def test(aaaa: A): Int =
7
+ //^keyword.function
8
+ // ^method
9
+ // no curly braces, but this is still in test method
10
+ val bbb = 1
11
+ //^keyword
12
+ // ^variable
13
+ val ccc = 2
14
15
16
+ 1
17
18
+object O1:
19
+//^keyword
20
21
22
+ def test: Unit = ()
23
24
25
26
// SIP-44
27
class C:
28
// ^keyword
0 commit comments