-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Make Vulpix checkfiles identical to the actual console output #6508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
nicolasstucki
merged 5 commits into
scala:master
from
dotty-staging:vulpix-checkfiles-identical
May 15, 2019
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
22fda02
Checkfiles use actual error message format
anatoliykmetyuk fab96f9
Reproduction instructions are output on a single line
anatoliykmetyuk cf5b490
Replace absolute paths with relative ones
anatoliykmetyuk a7cee09
New check files
anatoliykmetyuk 7924421
Test documentation added
anatoliykmetyuk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,6 +1,16 @@ | ||
[61..64] in Test_2.scala | ||
fgh | ||
[50..53] in Test_2.scala | ||
xyz | ||
[39..42] in Test_2.scala | ||
abc | ||
|
||
-- Error: tests/neg-macros/i6432/Test_2.scala:4:6 ---------------------------------------------------------------------- | ||
4 | foo"abc${"123"}xyz${"456"}fgh" // error // error // error | ||
| ^^^ | ||
| abc | ||
| This location is in code that was inlined at Test_2.scala:4 | ||
-- Error: tests/neg-macros/i6432/Test_2.scala:4:17 --------------------------------------------------------------------- | ||
4 | foo"abc${"123"}xyz${"456"}fgh" // error // error // error | ||
| ^^^ | ||
| xyz | ||
| This location is in code that was inlined at Test_2.scala:4 | ||
-- Error: tests/neg-macros/i6432/Test_2.scala:4:28 --------------------------------------------------------------------- | ||
4 | foo"abc${"123"}xyz${"456"}fgh" // error // error // error | ||
| ^^^ | ||
| fgh | ||
| This location is in code that was inlined at Test_2.scala:4 |
This file contains hidden or 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,6 +1,16 @@ | ||
[63..66] in Test_2.scala | ||
fgh | ||
[52..55] in Test_2.scala | ||
xyz | ||
[41..44] in Test_2.scala | ||
abc | ||
|
||
-- Error: tests/neg-macros/i6432b/Test_2.scala:4:8 --------------------------------------------------------------------- | ||
4 | foo"""abc${"123"}xyz${"456"}fgh""" // error // error // error | ||
| ^^^ | ||
| abc | ||
| This location is in code that was inlined at Test_2.scala:4 | ||
-- Error: tests/neg-macros/i6432b/Test_2.scala:4:19 -------------------------------------------------------------------- | ||
4 | foo"""abc${"123"}xyz${"456"}fgh""" // error // error // error | ||
| ^^^ | ||
| xyz | ||
| This location is in code that was inlined at Test_2.scala:4 | ||
-- Error: tests/neg-macros/i6432b/Test_2.scala:4:30 -------------------------------------------------------------------- | ||
4 | foo"""abc${"123"}xyz${"456"}fgh""" // error // error // error | ||
| ^^^ | ||
| fgh | ||
| This location is in code that was inlined at Test_2.scala:4 |
This file contains hidden or 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,8 +1,14 @@ | ||
[181..202] in classOf.scala | ||
Test.C{I = String} is not a class type | ||
[116..117] in classOf.scala | ||
T is not a class type | ||
|
||
where: T is a type in method f2 with bounds <: String | ||
[72..73] in classOf.scala | ||
T is not a class type | ||
-- Error: tests/neg/classOf.scala:6:22 --------------------------------------------------------------------------------- | ||
6 | def f1[T] = classOf[T] // error | ||
| ^ | ||
| T is not a class type | ||
-- Error: tests/neg/classOf.scala:7:32 --------------------------------------------------------------------------------- | ||
7 | def f2[T <: String] = classOf[T] // error | ||
| ^ | ||
| T is not a class type | ||
| | ||
| where: T is a type in method f2 with bounds <: String | ||
-- Error: tests/neg/classOf.scala:9:18 --------------------------------------------------------------------------------- | ||
9 | val y = classOf[C { type I = String }] // error | ||
| ^^^^^^^^^^^^^^^^^^^^^ | ||
| Test.C{I = String} is not a class type |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
It is worth figuring out where they come from and why. Could or should they already be relative? This is a separate issue.
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.
Technically, both relative and absolute paths are correct ways to point to a file. If the compiler at some point converts relative paths to absolute ones, I don't think it is an issue.
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.
That can be an issue. For example
.tasty
files contain a path to the file which will be published. This path must be relative or any tool that consumes them will be lost.