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

Type error messages containing calls to assert could be prettier.
The following piece of code contains a type error. It also contains a call to `assert`. ```hs import Control.Exception.Assert main = putStrLn (assert True 'a') ``` GHC 7.8.3 reports the type error as follows: ``` Err.hs:3:30: Couldn't match type ‘Char’ with ‘[Char]’ Expected type: String Actual type: Char In the third argument of ‘GHC.IO.Exception.assertError’, namely ‘'a'’ In the first argument of ‘putStrLn’, namely ‘(GHC.IO.Exception.assertError "Err.hs:3:18-23"## True 'a')’ In the expression: putStrLn (GHC.IO.Exception.assertError "Err.hs:3:18-23"## True 'a') ``` The calls to `assert` has already been desugared, which is not necessarily very readable. I think it would be better if GHC just printed the call to `assert` as it appeared in the source. <details><summary>Trac metadata</summary> | Trac field | Value | | ---------------------- | ------------ | | Version | 7.8.3 | | Type | Bug | | TypeOfFailure | OtherFailure | | Priority | normal | | Resolution | Unresolved | | Component | Compiler | | Test case | | | Differential revisions | | | BlockedBy | | | Related | | | Blocking | | | CC | | | Operating system | | | Architecture | | </details> <!-- {"blocked_by":[],"summary":"Type error messages containing calls to assert could be prettier.","status":"New","operating_system":"","component":"Compiler","related":[],"milestone":"","resolution":"Unresolved","owner":{"tag":"Unowned"},"version":"7.8.3","keywords":[],"differentials":[],"test_case":"","architecture":"","cc":[""],"type":"Bug","description":"The following piece of code contains a type error. It also contains a call to `assert`.\r\n\r\n{{{#!hs\r\nimport Control.Exception.Assert\r\n\r\nmain = putStrLn (assert True 'a')\r\n}}}\r\n\r\nGHC 7.8.3 reports the type error as follows:\r\n{{{\r\nErr.hs:3:30:\r\n Couldn't match type ‘Char’ with ‘[Char]’\r\n Expected type: String\r\n Actual type: Char\r\n In the third argument of ‘GHC.IO.Exception.assertError’, namely\r\n ‘'a'’\r\n In the first argument of ‘putStrLn’, namely\r\n ‘(GHC.IO.Exception.assertError \"Err.hs:3:18-23\"## True 'a')’\r\n In the expression:\r\n putStrLn (GHC.IO.Exception.assertError \"Err.hs:3:18-23\"## True 'a')\r\n}}}\r\n\r\nThe calls to `assert` has already been desugared, which is not necessarily very readable. I think it would be better if GHC just printed the call to `assert` as it appeared in the source.","type_of_failure":"OtherFailure","blocking":[]} -->
issue