From f93d8512345ebe560f438070022aa7b91dc40575 Mon Sep 17 00:00:00 2001 From: Jakub Ciesluk <323892@uwr.edu.pl> Date: Fri, 17 Nov 2023 10:05:30 +0100 Subject: [PATCH] chore: remove leftover distinct --- .../scala/meta/internal/pc/PcSemanticTokensProvider.scala | 1 - 1 file changed, 1 deletion(-) diff --git a/mtags/src/main/scala-3/scala/meta/internal/pc/PcSemanticTokensProvider.scala b/mtags/src/main/scala-3/scala/meta/internal/pc/PcSemanticTokensProvider.scala index 535be39650e..67d1ba0f622 100644 --- a/mtags/src/main/scala-3/scala/meta/internal/pc/PcSemanticTokensProvider.scala +++ b/mtags/src/main/scala-3/scala/meta/internal/pc/PcSemanticTokensProvider.scala @@ -90,7 +90,6 @@ final class PcSemanticTokensProvider( Collector .result() .flatten - .distinct .sortWith((n1, n2) => if n1.start() == n2.start() then n1.end() < n2.end() else n1.start() < n2.start()