on master help sign in
Rename the "got to end unexpectedly" error in syntax errors
commit93071493a1770bbfdd9d41bfe3217c86fa12b420 authorEvan Czaplicki <evancz@users.noreply.github.com> dateMon 3 Jun 2019, 14:17 (7 years ago) parent811d280
1 file changed+2−2
compiler/src/Reporting/Error/Syntax.hs+2−2
compiler/src/Reporting/Error/Syntax.hs+2−2
@@ -77,7 +77,7 @@ data Error
7777
7878data Module
7979 = ModuleSpace Space Row Col
80− | ModuleEndOfFile Row Col
80+ | ModuleBadEnd Row Col
8181 --
8282 | ModuleProblem Row Col
8383 | ModuleName Row Col
@@ -570,7 +570,7 @@ toParseErrorReport source modul =
570570 ModuleSpace space row col ->
571571 toSpaceReport source space row col
572572
573− ModuleEndOfFile row col ->
573+ ModuleBadEnd row col ->
574574 case Code.whatIsNext source row col of
575575 Code.Keyword keyword ->
576576 let