Skip to content

Commit b088b84

Browse files
committed
Upgrade sbt to 1.1.2
This release contains a fix allowing us to remove the workaround added a few commits earlier.
1 parent 1776242 commit b088b84

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

compiler/src/dotty/tools/dotc/sbt/ExtractAPI.scala

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,7 @@ private class ExtractAPICollector(implicit val ctx: Context) extends ThunkHolder
135135
* see the comment in the `RefinedType` case in `computeType`
136136
* The cache key is (api of RefinedType#parent, api of RefinedType#refinedInfo).
137137
*/
138-
// FIXME: This should be a HashMap but cannot be until the fix for
139-
// https://github.com/sbt/contraband/issues/119 is part of a released version
140-
// of sbt, until then we cannot rely on the hashCode method of the api.* classes.
141-
private[this] val refinedTypeCache = new mutable.ListMap[(api.Type, api.Definition), api.Structure]
138+
private[this] val refinedTypeCache = new mutable.HashMap[(api.Type, api.Definition), api.Structure]
142139

143140
private[this] val allNonLocalClassesInSrc = new mutable.HashSet[xsbti.api.ClassLike]
144141
private[this] val _mainClasses = new mutable.HashSet[String]

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.1.1
1+
sbt.version=1.1.2

0 commit comments

Comments
 (0)