Skip to content

Commit

Permalink
chore: Also bump sbt and zinc versions
Browse files Browse the repository at this point in the history
  • Loading branch information
tgodzik committed Jun 13, 2023
1 parent 9b7306a commit 3712707
Show file tree
Hide file tree
Showing 14 changed files with 28 additions and 16 deletions.
10 changes: 9 additions & 1 deletion backend/src/main/scala/bloop/reporter/Reporter.scala
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,15 @@ abstract class Reporter(
case _ =>
val mappedPos = p.position
val problemID = if (p.position.sourceFile.isPresent) nextID() else -1
Problem(problemID, p.severity, p.message, mappedPos, p.category, p.diagnosticCode())
Problem(
problemID,
p.severity,
p.message,
mappedPos,
p.category,
p.diagnosticCode(),
p.diagnosticRelatedInformation()
)
}
}

Expand Down
4 changes: 2 additions & 2 deletions frontend/src/main/scala/bloop/logging/BspServerLogger.scala
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ final class BspServerLogger private (
message,
bspRelatedInformation(
event.problem
.diagnosticRelatedInforamation()
.diagnosticRelatedInformation()
.asScala
.toList,
startLine,
Expand Down Expand Up @@ -194,7 +194,7 @@ final class BspServerLogger private (
message,
bspRelatedInformation(
event.problem
.diagnosticRelatedInforamation()
.diagnosticRelatedInformation()
.asScala
.toList,
startLine = 0,
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
sbt.version=1.7.2
sbt.version=1.9.0

Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
sbt.version=1.7.2
sbt.version=1.9.0

Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.7.2
sbt.version=1.9.0
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.7.2
sbt.version=1.9.0
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.7.2
sbt.version=1.9.0
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.7.2
sbt.version=1.9.0
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.7.2
sbt.version=1.9.0
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.7.2
sbt.version=1.9.0
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.7.2
sbt.version=1.9.0
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ object Dependencies {
val caseAppVersion = "2.0.6"
val sourcecodeVersion = "0.3.0"
val sbtTestInterfaceVersion = "1.0"
val sbtTestAgentVersion = "1.8.3"
val sbtTestAgentVersion = "1.9.0"
val junitVersion = "0.13.3"
val directoryWatcherVersion = "0.8.0+6-f651bd93"
val monixVersion = "3.2.0"
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.8.3
sbt.version=1.9.0
6 changes: 4 additions & 2 deletions shared/src/main/scala/bloop/reporter/Problem.scala
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ final case class Problem private (
/** The category of this problem. */
category: String,
/** Unique code attatched to the diagnostic being reported */
override val diagnosticCode: Optional[xsbti.DiagnosticCode]
override val diagnosticCode: Optional[xsbti.DiagnosticCode],
override val diagnosticRelatedInforamation: java.util.List[xsbti.DiagnosticRelatedInformation]
) extends xsbti.Problem

object Problem {
Expand All @@ -28,7 +29,8 @@ object Problem {
problem.message(),
problem.position(),
problem.category(),
problem.diagnosticCode()
problem.diagnosticCode(),
problem.diagnosticRelatedInformation()
)
}

Expand Down

0 comments on commit 3712707

Please sign in to comment.