We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 125d59d commit 2994d53Copy full SHA for 2994d53
tests/neg-custom-args/sourcepath2/hi/A.check
@@ -1,7 +1,6 @@
1
--- Warning: tests/neg-custom-args/sourcepath2/hi/A.scala:3:6 -----------------------------------------------------------
2
-3 |class Hello { // warn
+-- Error: tests/neg-custom-args/sourcepath2/hi/A.scala:3:6 -------------------------------------------------------------
+3 |class Hello { // error
3
| ^
4
| class Hello is in the wrong directory.
5
| It was declared to be in package <empty>
6
| But it is found in directory hi
7
-No warnings can be incurred under -Werror.
tests/neg-custom-args/sourcepath2/hi/A.scala
@@ -1,6 +1,5 @@
// Missing `package hi`
-class Hello { // warn
+class Hello { // error
val x: Int = 1
}
-// nopos-error: werror
0 commit comments