Skip to content

Bump to hiedb 0.5.0.0 to fix #3542 #3943

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ packages:
./plugins/hls-overloaded-record-dot-plugin
./plugins/hls-semantic-tokens-plugin

index-state: 2024-01-05T19:06:05Z
index-state: 2024-01-13T19:06:05Z

tests: True
test-show-details: direct
Expand Down
2 changes: 1 addition & 1 deletion ghcide/ghcide.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ library
, hashable
, hie-bios ==0.13.1
, hie-compat ^>=0.3.0.0
, hiedb >=0.4.4 && <0.4.5
, hiedb ^>= 0.5.0.1
, hls-graph == 2.5.0.0
, hls-plugin-api == 2.5.0.0
, implicit-hie >= 0.1.4.0 && < 0.1.5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ module Ide.Plugin.CallHierarchy.Query (
import qualified Data.Text as T
import Database.SQLite.Simple
import Development.IDE.GHC.Compat
import HieDb (HieDb (getConn), Symbol (..),
toNsChar)
import HieDb (HieDb (getConn), Symbol (..))
import Ide.Plugin.CallHierarchy.Types

incomingCalls :: HieDb -> Symbol -> IO [Vertex]
Expand Down Expand Up @@ -73,9 +72,9 @@ getSymbolPosition (getConn -> conn) Vertex{..} = do
]
) (occ, sl, sc, sl, el, ec, el)

parseSymbol :: Symbol -> (String, String, String)
parseSymbol :: Symbol -> (OccName, ModuleName, Unit)
parseSymbol Symbol{..} =
let o = toNsChar (occNameSpace symName) : occNameString symName
m = moduleNameString $ moduleName symModule
u = unitString $ moduleUnit symModule
let o = symName
m = moduleName symModule
u = moduleUnit symModule
in (o, m, u)
2 changes: 1 addition & 1 deletion stack-lts21.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ allow-newer: true

extra-deps:
- floskell-0.11.1
- hiedb-0.4.4.0
- hiedb-0.5.0.1
- hie-bios-0.13.1
- implicit-hie-0.1.4.0
- monad-dijkstra-0.1.1.3
Expand Down
2 changes: 1 addition & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ allow-newer: true
extra-deps:
- floskell-0.11.1
- retrie-1.2.2
- hiedb-0.4.4.0
- hiedb-0.5.0.1
- implicit-hie-0.1.4.0
- hie-bios-0.13.1
- lsp-2.3.0.0
Expand Down