Skip to content

Recursion limit exceeded (F-bounded type and sealed pattern match) #9631

Closed
@Sciss

Description

@Sciss

Minimized code

git clone https://github.com/Sciss/DottyLucre.git
cd DottyLucre
git checkout dotty-issue-9626
sbt compile

Output (click arrow to expand)

crashes in either SkipList or HASkipList of the data module (crash doesn't indicate file or line number)

[info] exception occurred while compiling /home/hhrutz/Documents/devel/DottyLucre/data/src/main/scala/de/sciss/lucre/data/HASkipList.scala, /home/hhrutz/Documents/devel/DottyLucre/data/src/main/scala/de/sciss/lucre/data/Ordered.scala, /home/hhrutz/Documents/devel/DottyLucre/data/src/main/scala/de/sciss/lucre/data/Ordering.scala, /home/hhrutz/Documents/devel/DottyLucre/data/src/main/scala/de/sciss/lucre/data/SkipList.scala
Recursion limit exceeded.
Maybe there is an illegal cyclic reference?
If that's not the case, you could also try to increase the stacksize using the -Xss JVM option.
A recurring operation is (inner to outer):

  subtype LazyRef(ile / compileIncremental 1s
  de.sciss.lucre.stm.Txn[
    LazyRef(
      de.sciss.lucre.stm.Txn[
        LazyRef(
          de.sciss.lucre.stm.Txn[

Compiles fine under ++2.13.3.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions