Admin message

Due to a large amount of spam we do not allow new users to create repositories, they are "external" users. If you are a new user and want to create a repository, for example for forking GHC, open a new issue on ghc/ghc using the "get-verified" issue template

Inconsistency in parsing trailing commas inside import section
The following Haskell code compiles without problems: ```hs import Data.Bool (Bool,) ``` As I understand, trailing commas are allowed at the end of `import` declaration. But if I have trailing comma inside data type import part, I see parse error: ```hs import Data.Bool (Bool (True,)) ``` I don't see why this code is forbidden. But allowing trailing commas inside parts of data type imports will make support for automatic refactoring tools easier since they don't need to care about this special case for removing trailing comma manually. <details><summary>Trac metadata</summary> | Trac field | Value | | ---------------------- | ----------------- | | Version | 8.4.3 | | Type | FeatureRequest | | TypeOfFailure | OtherFailure | | Priority | normal | | Resolution | Unresolved | | Component | Compiler (Parser) | | Test case | | | Differential revisions | | | BlockedBy | | | Related | | | Blocking | | | CC | | | Operating system | | | Architecture | | </details> <!-- {"blocked_by":[],"summary":"Inconsistency in parsing trailing commas inside import section","status":"New","operating_system":"","component":"Compiler (Parser)","related":[],"milestone":"8.6.1","resolution":"Unresolved","owner":{"tag":"Unowned"},"version":"8.4.3","keywords":["imports,trailing,commas"],"differentials":[],"test_case":"","architecture":"","cc":[""],"type":"FeatureRequest","description":"The following Haskell code compiles without problems:\r\n\r\n{{{#!hs\r\nimport Data.Bool (Bool,)\r\n}}}\r\n\r\nAs I understand, trailing commas are allowed at the end of `import` declaration. But if I have trailing comma inside data type import part, I see parse error:\r\n\r\n{{{#!hs\r\nimport Data.Bool (Bool (True,))\r\n}}}\r\n\r\nI don't see why this code is forbidden. But allowing trailing commas inside parts of data type imports will make support for automatic refactoring tools easier since they don't need to care about this special case for removing trailing comma manually.","type_of_failure":"OtherFailure","blocking":[]} -->
issue