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: CONTRIBUTING.md
+3-21Lines changed: 3 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,21 +7,11 @@ are in force.
7
7
8
8
The message index is in the directory `message-index`.
9
9
10
-
## Using a Recent-Enough GHC
11
-
12
-
Starting with version 9.6, GHC emits a unique error code with each error message.
13
-
If you want to contribute to the error message index, make sure that the version of GHC you have installed on your system is 9.6 or newer.
14
-
15
-
You can test which version of GHC you are using on the command line:
16
-
17
-
```console
18
-
> ghc --version
19
-
The Glorious Glasgow Haskell Compilation System, version 9.6.1
20
-
```
21
-
22
-
You can manage multiple versions of GHC on your system using [GHCup](https://www.haskell.org/ghcup/).
10
+
### Using a Recent-Enough Tool
23
11
12
+
If you want to contribute to the error message index, make sure that the version of the tool you have installed on your system is new enough. See the README for a table of supported versions.
24
13
14
+
You can manage multiple versions of tools on your system using [GHCup](https://www.haskell.org/ghcup/).
25
15
26
16
## How to Document a GHC Error Code
27
17
@@ -52,14 +42,6 @@ using a bunch of issues:
52
42
- Issues related to improving the site, the workflow for contributing, or other information are tagged `error-message-index-site`: https://github.com/haskellfoundation/error-message-index/labels/error-message-index-site
53
43
- Issues related to improving, clarifying, or extending existing documentation are tagged `error-message-index-improvements`: https://github.com/haskellfoundation/error-message-index/labels/error-message-index-improvements
54
44
55
-
## Stack and Error Codes
56
-
57
-
Since version 2.9.3, Stack has supported error codes in the `S-` namespace.
58
-
59
-
## GHCup and Error Codes
60
-
61
-
Since version 0.1.19.0, GHCup has supported error codes in the `GHCup-` namespace.
62
-
63
45
## Contributing New Messages
64
46
65
47
The Haskell Message Index is generated from a collection of files on
0 commit comments