File tree Expand file tree Collapse file tree 3 files changed +14
-14
lines changed Expand file tree Collapse file tree 3 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ object Hello {
30
30
// ^keyword.function
31
31
// ^keyword
32
32
// ^type
33
- // ^method
33
+ // ^function
34
34
// ^parameter
35
35
36
36
val anonFun : Int => Int = (a : Int ) => a
@@ -50,7 +50,7 @@ object Hello {
50
50
51
51
type Hello = " 25"
52
52
// ^keyword
53
- // ^type.definition
53
+ // ^type
54
54
// ^string
55
55
56
56
class A {
@@ -68,21 +68,21 @@ object Hello {
68
68
69
69
type A = B [({ type f [x] = M [S , x] })# f]
70
70
// ^keyword
71
- // ^type.definition
71
+ // ^type
72
72
73
73
val hello = c " some $mutation ${1 }"
74
74
// ^function.call
75
75
// ^punctuation.special
76
76
// ^variable
77
77
// ^number
78
78
def meth = ???
79
- // ^method
79
+ // ^function
80
80
val hello2 = c " some $meth"
81
- // ^method
81
+ // ^function
82
82
val hello3 = s " $$ $meth$hello2% "
83
83
// ^string
84
84
// ^punctuation.special
85
- // ^method
85
+ // ^function
86
86
// ^punctuation.special
87
87
// ^variable
88
88
// ^string
Original file line number Diff line number Diff line change 6
6
/*
7
7
* Beep boop
8
8
*/
9
- // <- comment
9
+ // <- spell
10
10
11
11
// Single line comment
12
- // <- comment
12
+ // <- spell
Original file line number Diff line number Diff line change 5
5
6
6
def test (aaaa : A ): Int =
7
7
// ^keyword.function
8
- // ^method
8
+ // ^function
9
9
// no curly braces, but this is still in test method
10
10
val bbb = 1
11
11
// ^keyword
@@ -21,12 +21,12 @@ object O1:
21
21
22
22
def test : Unit = ()
23
23
// ^keyword.function
24
- // ^method
24
+ // ^function
25
25
26
26
object O2 :
27
27
type Elem [A ] = A match
28
28
// ^keyword
29
- // ^type.definition
29
+ // ^type
30
30
case String => Char
31
31
// ^keyword
32
32
// ^type ^type
@@ -38,7 +38,7 @@ class C:
38
38
// ^keyword
39
39
// ^type
40
40
fooooo.map: x =>
41
- // ^method.call
41
+ // ^property
42
42
x + 1
43
43
44
44
xs.map:
@@ -96,7 +96,7 @@ opaque type Blow <: Int = 25
96
96
// ^type.qualifier
97
97
// ^keyword
98
98
// ^type
99
- // ^type.definition
99
+ // ^type
100
100
101
101
inline given Test = new Test {
102
102
// ^ storageclass
@@ -117,7 +117,7 @@ object A:
117
117
// ^type
118
118
119
119
:: (123 )
120
- // ^function.call
120
+ // ^operator
121
121
// ^number
122
122
123
123
object bla :
You can’t perform that action at this time.
0 commit comments