on master help sign in
add links to import hints on import syntax errors
commit9b7a6e887888208f9514ea7c2c82d12b5a51bd28 authorEvan Czaplicki <evancz@users.noreply.github.com> dateWed 28 Aug 2019, 13:01 (7 years ago) parent95527eb
1 file changed+3
compiler/src/Reporting/Error/Syntax.hs+3
compiler/src/Reporting/Error/Syntax.hs+3
@@ -1010,6 +1010,7 @@ toParseErrorReport source modul =
10101010 ]
10111011 , D.reflow $
10121012 "Notice that the module names all start with capital letters. That is required!"
1013+ , D.reflowLink "Read" "imports" "to learn more."
10131014 ]
10141015 )
10151016
@@ -1036,6 +1037,7 @@ toParseErrorReport source modul =
10361037 ]
10371038 , D.reflow $
10381039 "Notice that the alias always starts with a capital letter. That is required!"
1040+ , D.reflowLink "Read" "imports" "to learn more."
10391041 ]
10401042 )
10411043
@@ -1123,6 +1125,7 @@ toImportReport source row col =
11231125 ]
11241126 , D.reflow $
11251127 "You are probably trying to import a different module, but try to make it look like one of these examples!"
1128+ , D.reflowLink "Read" "imports" "to learn more."
11261129 ]
11271130 )
11281131