We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72230c8 commit b822cb0Copy full SHA for b822cb0
sbt-scripted-tests/sbt-test/compilerReporter/simple/project/Reporter.scala
@@ -37,7 +37,11 @@ object Reporter {
37
val problems = reporter.get.problems
38
println(problems.toList)
39
assert(problems.size == 2)
40
- assert(problems.forall(_.position.offset.isDefined))
+
41
+ // Assert disabled because we don't currently pass positions to sbt
42
+ // See https://github.com/lampepfl/dotty/pull/2107
43
+ // assert(problems.forall(_.position.offset.isDefined))
44
45
assert(problems.count(_.severity == Severity.Error) == 1) // not found: er1,
46
assert(problems.count(_.severity == Severity.Warn) == 1) // `with' as a type operator has been deprecated; use `&' instead,
47
})
0 commit comments