Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented better error message for missing do statements.
This fixes #2783 for the case where an empty double pipe symbol is being used without a do keyword.
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5bd9d6e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. Two thoughts:
do
should be in back-ticks. And i would rephrase it to something like "Maybe ado
is missing?" which would read less alleging. Maybe the user did write "do" but it got removed accidentally by a merge for example.5bd9d6e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 for "perhaps a
do
is missing?"5bd9d6e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's also the possibility that they want a
for
instead ofdo
.