We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66a9bc1 commit 3c9f42bCopy full SHA for 3c9f42b
glean/lang/haskell/HieIndexer/Index.hs
@@ -144,6 +144,10 @@ toNamespace occ
144
| GHC.isTvOcc occ = Hs.Namespace_tyvar
145
| GHC.isTcOcc occ = Hs.Namespace_tycon
146
| GHC.isDataOcc occ = Hs.Namespace_datacon
147
+#if MIN_VERSION_ghc(9,10,0)
148
+ -- TODO: this is definitely wrong lol
149
+ | GHC.isFieldOcc occ = Hs.Namespace_var_
150
+#endif
151
| otherwise = error "toNamespace"
152
153
isRecFieldRef :: RecFieldContext -> Bool
0 commit comments