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 4d65adb + 65316ed commit f6bbf35Copy full SHA for f6bbf35
test/highlight/basics.scala
@@ -15,6 +15,10 @@ object Hello {
15
// ^keyword.operator
16
// ^type
17
18
+ var mutation = "mutant"
19
+// ^keyword
20
+// ^variable
21
+
22
trait Test {
23
// ^ keyword
24
// ^ type
@@ -24,6 +28,13 @@ object Hello {
28
25
29
// ^method
26
30
// ^parameter
31
32
+ val anonFun: Int => Int = (a: Int) => a
33
34
+// ^type
35
+// ^operator
36
37
+// ^parameter
27
38
}
39
40
protected abstract class Bla(test: String)
test/highlight/scala3.scala
@@ -58,8 +58,14 @@ class C:
58
foooo: Int
59
60
61
+enum Simple:
62
+//^keyword
63
64
+ case A, B, C
65
66
enum Test(a: Int) derives Codec:
67
// ^keyword
68
69
70
71
0 commit comments