Improve SC1059 error message
This commit is contained in:
parent
b770984dfc
commit
86e2b76730
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue