Improve SC1059 error message

This commit is contained in:
Vidar Holen 2022-10-29 12:50:07 -07:00
parent b770984dfc
commit 86e2b76730
1 changed files with 1 additions and 1 deletions

View File

@ -2566,7 +2566,7 @@ readDoGroup kwId = do
parseProblem ErrorC 1058 "Expected 'do'."
return "Expected 'do'"
acceptButWarn g_Semi ErrorC 1059 "No semicolons directly after 'do'."
acceptButWarn g_Semi ErrorC 1059 "Semicolon is not allowed directly after 'do'. You can just delete it."
allspacing
optional (do