File tree 1 file changed +3
-0
lines changed
ghcide/src/Development/IDE/Core
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -190,6 +190,8 @@ data ShakeExtras = ShakeExtras
190
190
,debouncer :: Debouncer NormalizedUri
191
191
,logger :: Logger
192
192
,globals :: TVar (HMap. HashMap TypeRep Dynamic )
193
+ -- ^ Registry of global state used by rules.
194
+ -- Small and immutable after startup, so not worth using an STM.Map.
193
195
,state :: Values
194
196
,diagnostics :: STMDiagnosticStore
195
197
,hiddenDiagnostics :: STMDiagnosticStore
@@ -221,6 +223,7 @@ data ShakeExtras = ShakeExtras
221
223
, persistentKeys :: TVar (HMap. HashMap Key GetStalePersistent )
222
224
-- ^ Registery for functions that compute/get "stale" results for the rule
223
225
-- (possibly from disk)
226
+ -- Small and immutable after startup, so not worth using an STM.Map.
224
227
, vfs :: VFSHandle
225
228
, defaultConfig :: Config
226
229
-- ^ Default HLS config, only relevant if the client does not provide any Config
You can’t perform that action at this time.
0 commit comments