File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
compiler/src/dotty/tools/dotc/sbt Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff 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 ]
Original file line number Diff line number Diff line change 1- sbt.version =1.1.1
1+ sbt.version =1.1.2
You can’t perform that action at this time.
0 commit comments