Repository: scalameta/scalameta (scala)

Issue:
Reference being missed for symbol used in "cons" syntax
**Describe the bug**
When renaming a symbol that is being being used to create a list with cons syntax, or trying to find a reference for a symbol that is being used to create with cons syntax, the reference is missed.

```scala
val my@@Number = 3
val myList = List(1, 2, 3)

myNumber :: myList

myNumber :: 5 :: Nil
```
If I try to trigger either a rename or a find references at the `@@` position, it will neither find nor rename the other two occurrences of `myNumber`.

**To Reproduce**
Steps to reproduce the behavior:
1. Paste the above code in a scala file
2. Trigger a rename where the `@@` would be or a find references
3. See that the other two references aren't caught

**Expected behavior**
I would expect the rename to rename the other two occurrences, and I'd expect a find references to also show the two references.

**Installation:**
- Operating system: macOS
- Editor: Vim
- Metals version: `0.9.3+63-1c4ba22a-SNAPSHOT`

**Additional context**
I did check to see if there were correctly captured in scalameata, and it doesn't look like they are. ~look like they are, which points towards us missing something on the metals side.~

```
❯ metap .
src/main/scala/Main.scala
-------------------------

Summary:
Schema => SemanticDB v4
Uri => src/main/scala/Main.scala
Text => empty
Language => Scala
Symbols => 5 entries
Occurrences => 13 entries
Synthetics => 4 entries

Symbols:
_empty_/Main. => final object Main extends AnyRef with App { +2 decls }
_empty_/Main.myList. => val method myList: List[Int]
_empty_/Main.myNumber. => val method myNumber: Int
local0 => final val local rassoc$1: Int
local1 => final val local rassoc$3: Int

Occurrences:
[0:7..0:11) <= _empty_/Main.
[0:20..0:23) => scala/App#
[0:24..0:24) => java/lang/Object#`<init>`().
[2:6..2:14) <= _empty_/Main.myNumber.
[3:6..3:12) <= _empty_/Main.myList.
[3:15..3:19) => scala/collection/immutable/List.
[5:2..5:10) => local0
[5:11..5:13) => scala/collection/immutable/List#`::`().
[5:14..5:20) => _empty_/Main.myList.
[7:2..7:10) => local1
[7:11..7:13) => scala/collection/immutable/List#`::`().
[7:16..7:18) => scala/collection/immutable/List#`::`().
[7:19..7:22) => scala/collection/immutable/Nil.

Synthetics:
[3:15..3:19) => *.apply[Int]
[5:11..5:20) => *[Int]
[7:11..7:22) => *[Int]
[7:16..7:22) => *[Int]
```

**Search terms**
rename, find references

Pull request:
Fixes #2112.

Patch:
diff --git a/semanticdb/integration/src/main/scala/example/Issue2112.scala b/semanticdb/integration/src/main/scala/example/Issue2112.scala
new file mode 100644
index 0000000000..93b8235b1e
--- /dev/null
+++ b/semanticdb/integration/src/main/scala/example/Issue2112.scala
@@ -0,0 +1,13 @@
+package example
+
+object Issue2112 {
+  val myNumber = 3
+  val myList = List(1, 2, 3)
+  myNumber :: myList
+  myNumber :: 5 :: Nil
+
+  def foo(myNumber: Int) = {
+    myNumber :: myList
+    myNumber :: 5 :: Nil
+  }
+}
diff --git a/semanticdb/scalac/library/src/main/scala/scala/meta/internal/semanticdb/scalac/TextDocumentOps.scala b/semanticdb/scalac/library/src/main/scala/scala/meta/internal/semanticdb/scalac/TextDocumentOps.scala
index 248b5f5b15..bdfd3bb3b6 100644
--- a/semanticdb/scalac/library/src/main/scala/scala/meta/internal/semanticdb/scalac/TextDocumentOps.scala
+++ b/semanticdb/scalac/library/src/main/scala/scala/meta/internal/semanticdb/scalac/TextDocumentOps.scala
@@ -561,7 +561,10 @@ trait TextDocumentOps {
                 tryFindMtree(t)
               case t: g.ValDef =>
                 val gsym = t.symbol
-                if (gsym != null && gsym.isSynthetic) traverse(t.tpt)
+                if (gsym != null && gsym.isSynthetic) {
+                  traverse(t.tpt)
+                  traverse(t.rhs)
+                }
                 processMemberDef(t)
               case t: g.MemberDef => processMemberDef(t)
               case _: g.Apply | _: g.TypeApply =>


Test patch:
diff --git a/tests-semanticdb/src/test/resources/example/Issue2112_2.12.scala b/tests-semanticdb/src/test/resources/example/Issue2112_2.12.scala
new file mode 100644
index 0000000000..11df7da475
--- /dev/null
+++ b/tests-semanticdb/src/test/resources/example/Issue2112_2.12.scala
@@ -0,0 +1,13 @@
+package example
+
+object Issue2112/*<=example.Issue2112.*/ {
+  val myNumber/*<=example.Issue2112.myNumber.*/ = 3
+  val myList/*<=example.Issue2112.myList.*/ = List/*=>scala.collection.immutable.List.*/(1, 2, 3)
+  myNumber/*=>example.Issue2112.myNumber.*/ ::/*=>scala.collection.immutable.List#`::`().*/ myList/*=>example.Issue2112.myList.*/
+  myNumber/*=>example.Issue2112.myNumber.*/ ::/*=>scala.collection.immutable.List#`::`().*/ 5 ::/*=>scala.collection.immutable.List#`::`().*/ Nil/*=>scala.collection.immutable.Nil.*/
+
+  def foo/*<=example.Issue2112.foo().*/(myNumber/*<=example.Issue2112.foo().(myNumber)*/: Int/*=>scala.Int#*/) = {
+    myNumber/*=>example.Issue2112.foo().(myNumber)*/ ::/*=>scala.collection.immutable.List#`::`().*/ myList/*=>example.Issue2112.myList.*/
+    myNumber/*=>example.Issue2112.foo().(myNumber)*/ ::/*=>scala.collection.immutable.List#`::`().*/ 5 ::/*=>scala.collection.immutable.List#`::`().*/ Nil/*=>scala.collection.immutable.Nil.*/
+  }
+}
diff --git a/tests-semanticdb/src/test/resources/example/Issue2112_2.13.scala b/tests-semanticdb/src/test/resources/example/Issue2112_2.13.scala
new file mode 100644
index 0000000000..58c0d58fc4
--- /dev/null
+++ b/tests-semanticdb/src/test/resources/example/Issue2112_2.13.scala
@@ -0,0 +1,13 @@
+package example
+
+object Issue2112/*<=example.Issue2112.*/ {
+  val myNumber/*<=example.Issue2112.myNumber.*/ = 3
+  val myList/*<=example.Issue2112.myList.*/ = List/*=>scala.package.List.*/(1, 2, 3)
+  myNumber/*=>example.Issue2112.myNumber.*/ ::/*=>scala.collection.immutable.List#`::`().*/ myList/*=>example.Issue2112.myList.*/
+  myNumber/*=>example.Issue2112.myNumber.*/ ::/*=>scala.collection.immutable.List#`::`().*/ 5 ::/*=>scala.collection.immutable.List#`::`().*/ Nil/*=>scala.package.Nil.*/
+
+  def foo/*<=example.Issue2112.foo().*/(myNumber/*<=example.Issue2112.foo().(myNumber)*/: Int/*=>scala.Int#*/) = {
+    myNumber/*=>example.Issue2112.foo().(myNumber)*/ ::/*=>scala.collection.immutable.List#`::`().*/ myList/*=>example.Issue2112.myList.*/
+    myNumber/*=>example.Issue2112.foo().(myNumber)*/ ::/*=>scala.collection.immutable.List#`::`().*/ 5 ::/*=>scala.collection.immutable.List#`::`().*/ Nil/*=>scala.package.Nil.*/
+  }
+}
diff --git a/tests-semanticdb/src/test/resources/example/ValPattern.scala b/tests-semanticdb/src/test/resources/example/ValPattern.scala
index ad09848c19..cec93065b7 100644
--- a/tests-semanticdb/src/test/resources/example/ValPattern.scala
+++ b/tests-semanticdb/src/test/resources/example/ValPattern.scala
@@ -22,21 +22,21 @@ class ValPattern/*<=example.ValPattern#*/ {
       )
     )
     locally/*=>scala.Predef.locally().*/ {
-      val (left/*<=local7*/, right/*<=local8*/) = (1, 2)
+      val (left/*<=local6*/, right/*<=local7*/) = (1, 2)
       val Some/*=>scala.Some.*/(number1/*<=local9*/) =
         Some/*=>scala.Some.*/(1)
 
-      var (leftVar/*<=local12*/, rightVar/*<=local13*/) = (1, 2)
+      var (leftVar/*<=local11*/, rightVar/*<=local12*/) = (1, 2)
       var Some/*=>scala.Some.*/(number1Var/*<=local14*/) =
         Some/*=>scala.Some.*/(1)
       println/*=>scala.Predef.println(+1).*/(
         (
           number1/*=>local9*/,
-          left/*=>local7*/,
-          right/*=>local8*/,
+          left/*=>local6*/,
+          right/*=>local7*/,
           number1Var/*=>local14*/,
-          leftVar/*=>local12*/,
-          rightVar/*=>local13*/
+          leftVar/*=>local11*/,
+          rightVar/*=>local12*/
         )
       )
     }
diff --git a/tests-semanticdb/src/test/resources/metac.expect_2.12 b/tests-semanticdb/src/test/resources/metac.expect_2.12
index b05da01e13..cc46bdc4a6 100644
--- a/tests-semanticdb/src/test/resources/metac.expect_2.12
+++ b/tests-semanticdb/src/test/resources/metac.expect_2.12
@@ -2174,6 +2174,86 @@ Synthetics:
   convertToAnyShouldWrapper => example/Issue2040.BarSpec#convertToAnyShouldWrapper().
   default => example/Issue2040.Prettifier.default.
 
+semanticdb/integration/src/main/scala/example/Issue2112.scala
+-------------------------------------------------------------
+
+Summary:
+Schema => SemanticDB v4
+Uri => semanticdb/integration/src/main/scala/example/Issue2112.scala
+Text => non-empty
+Language => Scala
+Symbols => 11 entries
+Occurrences => 22 entries
+Synthetics => 7 entries
+
+Symbols:
+example/Issue2112. => final object Issue2112 extends AnyRef { +3 decls }
+  AnyRef => scala/AnyRef#
+example/Issue2112.foo(). => method foo(myNumber: Int): List[Int]
+  myNumber => example/Issue2112.foo().(myNumber)
+  Int => scala/Int#
+  List => scala/collection/immutable/List#
+example/Issue2112.foo().(myNumber) => param myNumber: Int
+  Int => scala/Int#
+example/Issue2112.myList. => val method myList: List[Int]
+  List => scala/collection/immutable/List#
+  Int => scala/Int#
+example/Issue2112.myNumber. => val method myNumber: Int
+  Int => scala/Int#
+local0 => val local x$1: Int
+  Int => scala/Int#
+local1 => val local x$3: Int
+  Int => scala/Int#
+local2 => val local x$2: Int
+  Int => scala/Int#
+local3 => val local x$4: Int
+  Int => scala/Int#
+local4 => val local x$6: Int
+  Int => scala/Int#
+local5 => val local x$5: Int
+  Int => scala/Int#
+
+Occurrences:
+[0:8..0:15): example <= example/
+[2:7..2:16): Issue2112 <= example/Issue2112.
+[3:6..3:14): myNumber <= example/Issue2112.myNumber.
+[4:6..4:12): myList <= example/Issue2112.myList.
+[4:15..4:19): List => scala/collection/immutable/List.
+[5:2..5:10): myNumber => example/Issue2112.myNumber.
+[5:11..5:13): :: => scala/collection/immutable/List#`::`().
+[5:14..5:20): myList => example/Issue2112.myList.
+[6:2..6:10): myNumber => example/Issue2112.myNumber.
+[6:11..6:13): :: => scala/collection/immutable/List#`::`().
+[6:16..6:18): :: => scala/collection/immutable/List#`::`().
+[6:19..6:22): Nil => scala/collection/immutable/Nil.
+[8:6..8:9): foo <= example/Issue2112.foo().
+[8:10..8:18): myNumber <= example/Issue2112.foo().(myNumber)
+[8:20..8:23): Int => scala/Int#
+[9:4..9:12): myNumber => example/Issue2112.foo().(myNumber)
+[9:13..9:15): :: => scala/collection/immutable/List#`::`().
+[9:16..9:22): myList => example/Issue2112.myList.
+[10:4..10:12): myNumber => example/Issue2112.foo().(myNumber)
+[10:13..10:15): :: => scala/collection/immutable/List#`::`().
+[10:18..10:20): :: => scala/collection/immutable/List#`::`().
+[10:21..10:24): Nil => scala/collection/immutable/Nil.
+
+Synthetics:
+[4:15..4:19): List => *.apply[Int]
+  apply => scala/collection/immutable/List.apply().
+  Int => scala/Int#
+[5:11..5:20): :: myList => *[Int]
+  Int => scala/Int#
+[6:11..6:22): :: 5 :: Nil => *[Int]
+  Int => scala/Int#
+[6:16..6:22): :: Nil => *[Int]
+  Int => scala/Int#
+[9:13..9:22): :: myList => *[Int]
+  Int => scala/Int#
+[10:13..10:24): :: 5 :: Nil => *[Int]
+  Int => scala/Int#
+[10:18..10:24): :: Nil => *[Int]
+  Int => scala/Int#
+
 semanticdb/integration/src/main/scala/example/Issue2116.scala
 -------------------------------------------------------------
 
@@ -4954,23 +5034,23 @@ local4 => val local rightVar: Int
   Int => scala/Int#
 local5 => val local number1Var: Int
   Int => scala/Int#
-local6 => val local x$3: : Tuple2[Int, Int]
-  Tuple2 => scala/Tuple2#
+local6 => val local left: Int
   Int => scala/Int#
-local7 => val local left: Int
+local7 => val local right: Int
   Int => scala/Int#
-local8 => val local right: Int
+local8 => val local x$3: : Tuple2[Int, Int]
+  Tuple2 => scala/Tuple2#
   Int => scala/Int#
 local9 => val local number1: Int
   Int => scala/Int#
 local10 => val local number1: Int
   Int => scala/Int#
-local11 => val local x$4: : Tuple2[Int, Int]
-  Tuple2 => scala/Tuple2#
+local11 => var local leftVar: Int
   Int => scala/Int#
-local12 => var local leftVar: Int
+local12 => var local rightVar: Int
   Int => scala/Int#
-local13 => var local rightVar: Int
+local13 => val local x$4: : Tuple2[Int, Int]
+  Tuple2 => scala/Tuple2#
   Int => scala/Int#
 local14 => var local number1Var: Int
   Int => scala/Int#
@@ -5001,23 +5081,23 @@ Occurrences:
 [19:8..19:15): leftVar => example/ValPattern#leftVar().
 [20:8..20:16): rightVar => example/ValPattern#rightVar().
 [23:4..23:11): locally => scala/Predef.locally().
-[24:11..24:15): left <= local7
-[24:17..24:22): right <= local8
+[24:11..24:15): left <= local6
+[24:17..24:22): right <= local7
 [25:10..25:14): Some => scala/Some.
 [25:15..25:22): number1 <= local9
 [26:8..26:12): Some => scala/Some.
-[28:11..28:18): leftVar <= local12
-[28:20..28:28): rightVar <= local13
+[28:11..28:18): leftVar <= local11
+[28:20..28:28): rightVar <= local12
 [29:10..29:14): Some => scala/Some.
 [29:15..29:25): number1Var <= local14
 [30:8..30:12): Some => scala/Some.
 [31:6..31:13): println => scala/Predef.println(+1).
 [33:10..33:17): number1 => local9
-[34:10..34:14): left => local7
-[35:10..35:15): right => local8
+[34:10..34:14): left => local6
+[35:10..35:15): right => local7
 [36:10..36:20): number1Var => local14
-[37:10..37:17): leftVar => local12
-[38:10..38:18): rightVar => local13
+[37:10..37:17): leftVar => local11
+[38:10..38:18): rightVar => local12
 
 Synthetics:
 [4:6..4:19): (left, right) => *.apply[Int, Int]
diff --git a/tests-semanticdb/src/test/resources/metac.expect_2.13 b/tests-semanticdb/src/test/resources/metac.expect_2.13
index c74b2896f7..e65be14917 100644
--- a/tests-semanticdb/src/test/resources/metac.expect_2.13
+++ b/tests-semanticdb/src/test/resources/metac.expect_2.13
@@ -2288,6 +2288,82 @@ Synthetics:
   convertToAnyShouldWrapper => example/Issue2040.BarSpec#convertToAnyShouldWrapper().
   default => example/Issue2040.Prettifier.default.
 
+semanticdb/integration/src/main/scala/example/Issue2112.scala
+-------------------------------------------------------------
+
+Summary:
+Schema => SemanticDB v4
+Uri => semanticdb/integration/src/main/scala/example/Issue2112.scala
+Text => non-empty
+Language => Scala
+Symbols => 9 entries
+Occurrences => 22 entries
+Synthetics => 7 entries
+
+Symbols:
+example/Issue2112. => final object Issue2112 extends AnyRef { +3 decls }
+  AnyRef => scala/AnyRef#
+example/Issue2112.foo(). => method foo(myNumber: Int): List[Int]
+  myNumber => example/Issue2112.foo().(myNumber)
+  Int => scala/Int#
+  List => scala/collection/immutable/List#
+example/Issue2112.foo().(myNumber) => param myNumber: Int
+  Int => scala/Int#
+example/Issue2112.myList. => val method myList: List[Int]
+  List => scala/collection/immutable/List#
+  Int => scala/Int#
+example/Issue2112.myNumber. => val method myNumber: Int
+  Int => scala/Int#
+local0 => final val local rassoc$1: Int
+  Int => scala/Int#
+local1 => final val local rassoc$3: Int
+  Int => scala/Int#
+local2 => final val local rassoc$4: Int
+  Int => scala/Int#
+local3 => final val local rassoc$6: Int
+  Int => scala/Int#
+
+Occurrences:
+[0:8..0:15): example <= example/
+[2:7..2:16): Issue2112 <= example/Issue2112.
+[3:6..3:14): myNumber <= example/Issue2112.myNumber.
+[4:6..4:12): myList <= example/Issue2112.myList.
+[4:15..4:19): List => scala/package.List.
+[5:2..5:10): myNumber => example/Issue2112.myNumber.
+[5:11..5:13): :: => scala/collection/immutable/List#`::`().
+[5:14..5:20): myList => example/Issue2112.myList.
+[6:2..6:10): myNumber => example/Issue2112.myNumber.
+[6:11..6:13): :: => scala/collection/immutable/List#`::`().
+[6:16..6:18): :: => scala/collection/immutable/List#`::`().
+[6:19..6:22): Nil => scala/package.Nil.
+[8:6..8:9): foo <= example/Issue2112.foo().
+[8:10..8:18): myNumber <= example/Issue2112.foo().(myNumber)
+[8:20..8:23): Int => scala/Int#
+[9:4..9:12): myNumber => example/Issue2112.foo().(myNumber)
+[9:13..9:15): :: => scala/collection/immutable/List#`::`().
+[9:16..9:22): myList => example/Issue2112.myList.
+[10:4..10:12): myNumber => example/Issue2112.foo().(myNumber)
+[10:13..10:15): :: => scala/collection/immutable/List#`::`().
+[10:18..10:20): :: => scala/collection/immutable/List#`::`().
+[10:21..10:24): Nil => scala/package.Nil.
+
+Synthetics:
+[4:15..4:19): List => *.apply[Int]
+  apply => scala/collection/IterableFactory#apply().
+  Int => scala/Int#
+[5:11..5:20): :: myList => *[Int]
+  Int => scala/Int#
+[6:11..6:22): :: 5 :: Nil => *[Int]
+  Int => scala/Int#
+[6:16..6:22): :: Nil => *[Int]
+  Int => scala/Int#
+[9:13..9:22): :: myList => *[Int]
+  Int => scala/Int#
+[10:13..10:24): :: 5 :: Nil => *[Int]
+  Int => scala/Int#
+[10:18..10:24): :: Nil => *[Int]
+  Int => scala/Int#
+
 semanticdb/integration/src/main/scala/example/Issue2116.scala
 -------------------------------------------------------------
 
@@ -5100,23 +5176,23 @@ local4 => val local rightVar: Int
   Int => scala/Int#
 local5 => val local number1Var: Int
   Int => scala/Int#
-local6 => val local x$3: : Tuple2[Int, Int]
-  Tuple2 => scala/Tuple2#
+local6 => val local left: Int
   Int => scala/Int#
-local7 => val local left: Int
+local7 => val local right: Int
   Int => scala/Int#
-local8 => val local right: Int
+local8 => val local x$3: : Tuple2[Int, Int]
+  Tuple2 => scala/Tuple2#
   Int => scala/Int#
 local9 => val local number1: Int
   Int => scala/Int#
 local10 => val local number1: Int
   Int => scala/Int#
-local11 => val local x$4: : Tuple2[Int, Int]
-  Tuple2 => scala/Tuple2#
+local11 => var local leftVar: Int
   Int => scala/Int#
-local12 => var local leftVar: Int
+local12 => var local rightVar: Int
   Int => scala/Int#
-local13 => var local rightVar: Int
+local13 => val local x$4: : Tuple2[Int, Int]
+  Tuple2 => scala/Tuple2#
   Int => scala/Int#
 local14 => var local number1Var: Int
   Int => scala/Int#
@@ -5147,23 +5223,23 @@ Occurrences:
 [19:8..19:15): leftVar => example/ValPattern#leftVar().
 [20:8..20:16): rightVar => example/ValPattern#rightVar().
 [23:4..23:11): locally => scala/Predef.locally().
-[24:11..24:15): left <= local7
-[24:17..24:22): right <= local8
+[24:11..24:15): left <= local6
+[24:17..24:22): right <= local7
 [25:10..25:14): Some => scala/Some.
 [25:15..25:22): number1 <= local9
 [26:8..26:12): Some => scala/Some.
-[28:11..28:18): leftVar <= local12
-[28:20..28:28): rightVar <= local13
+[28:11..28:18): leftVar <= local11
+[28:20..28:28): rightVar <= local12
 [29:10..29:14): Some => scala/Some.
 [29:15..29:25): number1Var <= local14
 [30:8..30:12): Some => scala/Some.
 [31:6..31:13): println => scala/Predef.println(+1).
 [33:10..33:17): number1 => local9
-[34:10..34:14): left => local7
-[35:10..35:15): right => local8
+[34:10..34:14): left => local6
+[35:10..35:15): right => local7
 [36:10..36:20): number1Var => local14
-[37:10..37:17): leftVar => local12
-[38:10..38:18): rightVar => local13
+[37:10..37:17): leftVar => local11
+[38:10..38:18): rightVar => local12
 
 Synthetics:
 [4:6..4:19): (left, right) => *.apply[Int, Int]
diff --git a/tests-semanticdb/src/test/resources/metacp.expect_2.12 b/tests-semanticdb/src/test/resources/metacp.expect_2.12
index 70ad19dc89..df84c48cbd 100644
--- a/tests-semanticdb/src/test/resources/metacp.expect_2.12
+++ b/tests-semanticdb/src/test/resources/metacp.expect_2.12
@@ -2034,6 +2034,31 @@ example/Issue2040.Prettifier. => final object Prettifier extends AnyRef { +1 dec
 example/Issue2040.Prettifier.default. => implicit val method default: Prettifier
   Prettifier => example/Issue2040.Prettifier#
 
+example/Issue2112.class
+-----------------------
+
+Summary:
+Schema => SemanticDB v4
+Uri => example/Issue2112.class
+Text => empty
+Language => Scala
+Symbols => 5 entries
+
+Symbols:
+example/Issue2112. => final object Issue2112 extends AnyRef { +3 decls }
+  AnyRef => scala/AnyRef#
+example/Issue2112.foo(). => method foo(myNumber: Int): List[Int]
+  myNumber => example/Issue2112.foo().(myNumber)
+  Int => scala/Int#
+  List => scala/collection/immutable/List#
+example/Issue2112.foo().(myNumber) => param myNumber: Int
+  Int => scala/Int#
+example/Issue2112.myList. => val method myList: List[Int]
+  List => scala/collection/immutable/List#
+  Int => scala/Int#
+example/Issue2112.myNumber. => val method myNumber: Int
+  Int => scala/Int#
+
 example/Issue2116.class
 -----------------------
 
diff --git a/tests-semanticdb/src/test/resources/metacp.expect_2.13 b/tests-semanticdb/src/test/resources/metacp.expect_2.13
index 031668504a..6917b5f931 100644
--- a/tests-semanticdb/src/test/resources/metacp.expect_2.13
+++ b/tests-semanticdb/src/test/resources/metacp.expect_2.13
@@ -2050,6 +2050,31 @@ example/Issue2040.Prettifier. => final object Prettifier extends AnyRef { +1 dec
 example/Issue2040.Prettifier.default. => implicit val method default: Prettifier
   Prettifier => example/Issue2040.Prettifier#
 
+example/Issue2112.class
+-----------------------
+
+Summary:
+Schema => SemanticDB v4
+Uri => example/Issue2112.class
+Text => empty
+Language => Scala
+Symbols => 5 entries
+
+Symbols:
+example/Issue2112. => final object Issue2112 extends AnyRef { +3 decls }
+  AnyRef => scala/AnyRef#
+example/Issue2112.foo(). => method foo(myNumber: Int): List[Int]
+  myNumber => example/Issue2112.foo().(myNumber)
+  Int => scala/Int#
+  List => scala/collection/immutable/List#
+example/Issue2112.foo().(myNumber) => param myNumber: Int
+  Int => scala/Int#
+example/Issue2112.myList. => val method myList: List[Int]
+  List => scala/collection/immutable/List#
+  Int => scala/Int#
+example/Issue2112.myNumber. => val method myNumber: Int
+  Int => scala/Int#
+
 example/Issue2116.class
 -----------------------