-
Bug
-
Resolution: Fixed
-
P2
-
8, 8-repo-lambda
-
b96
-
Verified
This program causes a stack overflow exception:
class LazySeq<E> { }
class Test {
<C> LazySeq<C> cons(LazySeq<C> tailFun) { return null; }
<T extends Comparable<T>> LazySeq<T> mergeSorted(LazySeq<T> a) {
return cons(mergeSorted(a));
}
}
class LazySeq<E> { }
class Test {
<C> LazySeq<C> cons(LazySeq<C> tailFun) { return null; }
<T extends Comparable<T>> LazySeq<T> mergeSorted(LazySeq<T> a) {
return cons(mergeSorted(a));
}
}