We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 029f921 commit 4830befCopy full SHA for 4830bef
1 file changed
glean/lang/haskell/HieIndexer/Index.hs
@@ -179,6 +179,10 @@ toNamespace occ
179
| GHC.isTvOcc occ = Hs.Namespace_tyvar
180
| GHC.isTcOcc occ = Hs.Namespace_tycon
181
| GHC.isDataOcc occ = Hs.Namespace_datacon
182
+#if MIN_VERSION_ghc(9,10,0)
183
+ -- TODO: this is definitely wrong lol
184
+ | GHC.isFieldOcc occ = Hs.Namespace_var_
185
+#endif
186
| otherwise = error "toNamespace"
187
188
isRecFieldRef :: RecFieldContext -> Bool
0 commit comments