-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Give more helpful warning when using tabs in continuations
This rejects continuations using 'tab' inside tests. They can be confusing for users because GAP does not treat them as continuations, but instead a line of output. They are rejected, rather than treated as continuations, because we do not want different parts of GAP to handle continuations differently, or really start changing the definition of something so fundamental. This does break any tests which start an output line with '>\t', but no such tests seem to exist and would be easily confused with a continuation.
- Loading branch information
1 parent
9e7e38d
commit bba65fc
Showing
4 changed files
with
26 additions
and
8 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
gap> f := function() | ||
> local a; | ||
> if a = 0 then | ||
> Error("a is zero"); | ||
> fi; | ||
> end;; |
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
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