File tree 2 files changed +2
-12
lines changed
plugins/hls-stan-plugin/src/Ide/Plugin
2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -676,17 +676,13 @@ library hls-stan-plugin
676
676
hs-source-dirs : plugins/hls-stan-plugin/src
677
677
build-depends :
678
678
base
679
- , containers
680
- , data-default
681
679
, deepseq
682
680
, hashable
683
681
, hie-compat
684
682
, hls-plugin-api
685
- , ghc
686
683
, ghcide
687
684
, lsp-types
688
685
, text
689
- , transformers
690
686
, unordered-containers
691
687
, stan >= 0.1.2.0
692
688
, trial
@@ -711,9 +707,7 @@ test-suite hls-stan-plugin-tests
711
707
hs-source-dirs : plugins/hls-stan-plugin/test
712
708
main-is : Main.hs
713
709
build-depends :
714
- aeson
715
710
, base
716
- , containers
717
711
, filepath
718
712
, haskell-language-server :hls-stan-plugin
719
713
, hls-plugin-api
Original file line number Diff line number Diff line change @@ -80,9 +80,6 @@ stripModifiers = go ""
80
80
Nothing -> txt
81
81
Just index -> T. drop (index + 1 ) txt
82
82
83
- renderId :: Id a -> T. Text
84
- renderId (Id t) = " Id = " <> t
85
-
86
83
instance Pretty Log where
87
84
pretty = \ case
88
85
LogShake log -> pretty log
@@ -136,12 +133,11 @@ rules recorder plId = do
136
133
}
137
134
138
135
(configTrial, useDefConfig, env) <- liftIO $ getStanConfig stanArgs isLoud
139
- seTomlFiles <- liftIO $ usedTomlFiles useDefConfig (stanArgsConfigFile stanArgs)
140
- logWith recorder Debug (LogDebugStanConfigResult seTomlFiles configTrial)
136
+ tomlsUsedByStan <- liftIO $ usedTomlFiles useDefConfig (stanArgsConfigFile stanArgs)
137
+ logWith recorder Debug (LogDebugStanConfigResult tomlsUsedByStan configTrial)
141
138
142
139
-- If envVar is set to 'False', stan will ignore all local and global .stan.toml files
143
140
logWith recorder Debug (LogDebugStanEnvVars env)
144
- seTomlFiles <- liftIO $ usedTomlFiles useDefConfig (stanArgsConfigFile stanArgs)
145
141
146
142
-- Note that Stan works in terms of relative paths, but the HIE come in as absolute. Without
147
143
-- making its path relative, the file name(s) won't line up with the associated Map keys.
You can’t perform that action at this time.
0 commit comments