We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c98956e commit 6d10f44Copy full SHA for 6d10f44
ghcide/src/Development/IDE/LSP/Outline.hs
@@ -223,4 +223,8 @@ pprText = pack . showSDocUnsafe . ppr
223
getConNames' :: ConDecl GhcPs -> [Located (IdP GhcPs)]
224
getConNames' ConDeclH98 {con_name = name} = [name]
225
getConNames' ConDeclGADT {con_names = names} = names
226
+#if !MIN_GHC_API_VERSION(8,10,0)
227
+getConNames' (XConDecl NoExt) = []
228
+#elif !MIN_GHC_API_VERSION(9,0,0)
229
getConNames' (XConDecl x) = noExtCon x
230
+#endif
0 commit comments