Skip to content

Commit 57347d8

Browse files
committed
Accept updated semanticdb output
1 parent d5ea0e9 commit 57347d8

File tree

1 file changed

+27
-3
lines changed

1 file changed

+27
-3
lines changed

tests/semanticdb/metac.expect

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ Text => empty
575575
Language => Scala
576576
Symbols => 108 entries
577577
Occurrences => 127 entries
578-
Diagnostics => 6 entries
578+
Diagnostics => 10 entries
579579
Synthetics => 2 entries
580580

581581
Symbols:
@@ -830,6 +830,10 @@ See: https://docs.scala-lang.org/scala3/reference/dropped-features/this-qualifie
830830
This construct can be rewritten automatically under -rewrite -source 3.4-migration.
831831
[22:27..22:28): [warning] unused explicit parameter
832832
[24:10..24:11): [warning] unused explicit parameter
833+
[36:11..36:12): [warning] unused explicit parameter
834+
[39:11..39:12): [warning] unused explicit parameter
835+
[39:19..39:20): [warning] unused explicit parameter
836+
[51:30..51:31): [warning] unused explicit parameter
833837

834838
Synthetics:
835839
[51:16..51:27):List(1).map => *[Int]
@@ -3533,6 +3537,7 @@ Text => empty
35333537
Language => Scala
35343538
Symbols => 62 entries
35353539
Occurrences => 165 entries
3540+
Diagnostics => 2 entries
35363541
Synthetics => 39 entries
35373542

35383543
Symbols:
@@ -3766,6 +3771,10 @@ Occurrences:
37663771
[68:18..68:24): impure -> local20
37673772
[68:30..68:31): s -> local16
37683773

3774+
Diagnostics:
3775+
[19:21..19:22): [warning] unused explicit parameter
3776+
[41:4..41:5): [warning] unused explicit parameter
3777+
37693778
Synthetics:
37703779
[5:2..5:13):List(1).map => *[Int]
37713780
[5:2..5:6):List => *.apply[Int]
@@ -4235,6 +4244,7 @@ Text => empty
42354244
Language => Scala
42364245
Symbols => 6 entries
42374246
Occurrences => 11 entries
4247+
Diagnostics => 2 entries
42384248

42394249
Symbols:
42404250
example/Vararg# => class Vararg extends Object { self: Vararg => +3 decls }
@@ -4257,6 +4267,10 @@ Occurrences:
42574267
[4:18..4:21): Int -> scala/Int#
42584268
[4:26..4:30): Unit -> scala/Unit#
42594269

4270+
Diagnostics:
4271+
[3:11..3:12): [warning] unused explicit parameter
4272+
[4:11..4:12): [warning] unused explicit parameter
4273+
42604274
expect/dep-match.scala
42614275
----------------------
42624276

@@ -4873,6 +4887,7 @@ Text => empty
48734887
Language => Scala
48744888
Symbols => 36 entries
48754889
Occurrences => 48 entries
4890+
Diagnostics => 5 entries
48764891

48774892
Symbols:
48784893
local0 => type N$1 <: Nat
@@ -4962,6 +4977,13 @@ Occurrences:
49624977
[23:35..23:39): Zero -> recursion/Nats.Zero.
49634978
[23:40..23:42): ++ -> recursion/Nats.Nat#`++`().
49644979

4980+
Diagnostics:
4981+
[10:24..10:24): [warning] unused local definition
4982+
[10:33..11:5): [warning] unused local definition
4983+
[23:19..23:19): [warning] unused local definition
4984+
[23:24..23:32): [warning] unused local definition
4985+
[23:40..25:2): [warning] unused local definition
4986+
49654987
expect/semanticdb-Definitions.scala
49664988
-----------------------------------
49674989

@@ -5006,7 +5028,7 @@ Text => empty
50065028
Language => Scala
50075029
Symbols => 50 entries
50085030
Occurrences => 78 entries
5009-
Diagnostics => 4 entries
5031+
Diagnostics => 5 entries
50105032
Synthetics => 2 entries
50115033

50125034
Symbols:
@@ -5142,6 +5164,7 @@ Occurrences:
51425164
[25:33..25:36): ??? -> scala/Predef.`???`().
51435165

51445166
Diagnostics:
5167+
[5:19..5:20): [warning] unused private member
51455168
[9:30..9:31): [warning] unused explicit parameter
51465169
[9:36..9:37): [warning] unused explicit parameter
51475170
[9:42..9:43): [warning] unused explicit parameter
@@ -5161,7 +5184,7 @@ Text => empty
51615184
Language => Scala
51625185
Symbols => 143 entries
51635186
Occurrences => 246 entries
5164-
Diagnostics => 4 entries
5187+
Diagnostics => 5 entries
51655188
Synthetics => 1 entries
51665189

51675190
Symbols:
@@ -5565,6 +5588,7 @@ This construct can be rewritten automatically under -rewrite -source 3.4-migrati
55655588
This construct can be rewritten automatically under -rewrite -source 3.4-migration.
55665589
[71:31..71:31): [warning] `_` is deprecated for wildcard arguments of types: use `?` instead
55675590
This construct can be rewritten automatically under -rewrite -source 3.4-migration.
5591+
[96:13..96:14): [warning] unused explicit parameter
55685592

55695593
Synthetics:
55705594
[68:20..68:24):@ann => *[Int]

0 commit comments

Comments
 (0)