You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: message-index/messages/GHC-46537/index.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,16 +9,16 @@ This error is reported when GHC fails to recognize the name of a language extens
9
9
10
10
There are two likely causes:
11
11
12
-
1. You've made a typo, in which case ghc will likely also suggest the correct extension name to use.
13
-
2. You're using older version of GHC which doesn't yet support given extension.
14
-
Here's a couple of things you can try to troubleshoot:
12
+
1. You've made a typo, in which case GHC will likely also suggest the correct extension name to use.
13
+
2. You're using older version of GHC that doesn't yet support the extension.
14
+
Here's a couple of things you can try in order to troubleshoot:
15
15
16
-
- Find out what version of GHC you're using:
16
+
- Find out which version of GHC you're using:
17
17
18
18
ghc --version
19
19
20
-
- List all the supported extension that this version of GHC supports. Does the list contain your desired extension?
20
+
- List all the supported extensions that this version of GHC supports. Does the list contain your desired extension?
21
21
22
22
ghc --supported-extensions
23
23
24
-
- Search for the extension name in the latest version of [GHC User's Guide](https://downloads.haskell.org/ghc/latest/docs/users_guide/exts.html). Most extensions have a `since` annotation which tells you in which version of GHC the extension was introduced.
24
+
- Search for the extension name in the latest version of the [GHC User's Guide](https://downloads.haskell.org/ghc/latest/docs/users_guide/exts.html). Most extensions have a `since` annotation which tells you in which version of GHC the extension was introduced.
0 commit comments