summaryrefslogtreecommitdiff
path: root/bincompat-forward.whitelist.conf
diff options
context:
space:
mode:
authorRex Kerr <ichoran@gmail.com>2014-06-28 03:24:39 -0700
committerRex Kerr <ichoran@gmail.com>2014-09-12 18:10:38 -0700
commit039f3e3b35f73886f79f00bc578739002fe034cc (patch)
tree817b21a6da4a466caa2a51823921094857b53225 /bincompat-forward.whitelist.conf
parent5046f7bc99b78447dfa34c891b2b413ca47bb8f9 (diff)
downloadscala-039f3e3b35f73886f79f00bc578739002fe034cc.tar.gz
scala-039f3e3b35f73886f79f00bc578739002fe034cc.tar.bz2
scala-039f3e3b35f73886f79f00bc578739002fe034cc.zip
SI-8680 Stream.addString is too eager
Used the standard method of sending out two iterators, one twice as fast as the others, to avoid hanging on .force, .hasDefiniteSize, and .addString. .addString appends a "..." as the last element if it detects a cycle. It knows how to print the cycle length, but there's no good way to specify what you want right now, so it's not used. Added tests in t8680 that verify that cyclic streams give the expected results. Added to whitelist names of methods formerly used for recursion (now looping).
Diffstat (limited to 'bincompat-forward.whitelist.conf')
-rw-r--r--bincompat-forward.whitelist.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/bincompat-forward.whitelist.conf b/bincompat-forward.whitelist.conf
index ec80e7cce9..87a59f2d53 100644
--- a/bincompat-forward.whitelist.conf
+++ b/bincompat-forward.whitelist.conf
@@ -368,6 +368,27 @@ filter {
{
matchName="scala.reflect.io.AbstractFile.filterImpl"
problemName=MissingMethodProblem
+ },
+ // https://github.com/scala/scala/pull/3848 -- SI-8680
+ {
+ matchName="scala.collection.immutable.Stream.scala$collection$immutable$Stream$$loop$6"
+ problemName=MissingMethodProblem
+ },
+ {
+ matchName="scala.collection.immutable.Stream.scala$collection$immutable$Stream$$loop$5"
+ problemName=MissingMethodProblem
+ },
+ {
+ matchName="scala.collection.immutable.Stream.scala$collection$immutable$Stream$$loop$4"
+ problemName=MissingMethodProblem
+ },
+ {
+ matchName="scala.collection.immutable.Stream.scala$collection$immutable$Stream$$loop$3"
+ problemName=MissingMethodProblem
+ },
+ {
+ matchName="scala.collection.immutable.Stream.scala$collection$immutable$Stream$$loop$2"
+ problemName=MissingMethodProblem
}
]
}