-
Notifications
You must be signed in to change notification settings - Fork 411
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename Alias.of_path to Alias.of_user_written_path
And add a loc argument for correct error messages
- Loading branch information
Showing
4 changed files
with
12 additions
and
7 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
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
$ dune runtest --root absolute-path 2>&1 | grep -v Entering | ||
Invalid alias! | ||
Tried to reference alias "/foo/bar" | ||
File "jbuild", line 3, characters 16-24: | ||
Error: Invalid alias! | ||
Tried to reference path outside build dir: "/foo/bar" | ||
$ dune runtest --root outside-workspace 2>&1 | grep -v Entering | ||
Path outside the workspace: ./../../../foobar from _build/default | ||
File "jbuild", line 4, characters 16-39: | ||
Error: path outside the workspace: ./../../../foobar from _build/default |