8000 Small fixes and more tests for jdk Converters by lrytz · Pull Request #7970 · scala/scala · GitHub
[go: up one dir, main page]

Skip to content

Small fixes and more tests for jdk Converters #7970

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Apr 17, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove workarounds
  • Loading branch information
lrytz committed Apr 12, 2019
commit f065de76a5987510cd42879952b8a7ac990ffd07
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ extends EfficientSplit {
def hasStep: Boolean = (myCurrent ne null) || findNextCurrent()

def trySplit(): Sub = {
return null // https://github.com/scala/bug/issues/11468
if (iN-1 > i0 && maxLength > 0) {
val half = (i0 + iN) >>> 1
val ans = semiclone(half)
Expand Down
4 changes: 2 additions & 2 deletions test/junit/scala/jdk/StepperTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class StepperTest {
val sizes = List(0, 1, 2, 3, 4, 7, 8, 15, 16, 17, 136, 2123)

val factories: List[(IterableFactory[IterableOnce], Boolean)] =
// (ci.HashSet, false) :: // TODO bug in ChampStepper
(ci.HashSet, false) ::
List[IterableFactory[IterableOnce]](
collection.Iterator,
ci.ListSet, ci.LazyList, ci.List, ci.Vector,
Expand All @@ -43,7 +43,7 @@ class StepperTest {
val sortedFactories = List[SortedIterableFactory[IterableOnce]](ci.TreeSet, cm.TreeSet)

val mapFactories = List[(MapFactory[scala.collection.Map], Boolean)](
/*(ci.HashMap, false), TODO bug in ChampStepper */(ci.TreeSeqMap, true), (ci.ListMap, true), (ci.VectorMap, true),
(ci.HashMap, false), (ci.TreeSeqMap, true), (ci.ListMap, true), (ci.VectorMap, true),
(cm.HashMap, false), (cm.LinkedHashMap, false), // TODO report issue: LinkedHashMap should be ordered
(cc.TrieMap, false)) // TODO: report issue: TrieMap says its Stepper is ordered

Expand Down
0