Skip to content

compiler crashes on lazy list implementation #13349

Closed
@MRandl

Description

@MRandl

Compiler version

3.0.1, tested on macOS and Scastie

Minimized code

https://scastie.scala-lang.org/lCvA1ZJuSAahB7CATzl2cA

uncommenting the append function crashes the compiler.

exercise from the book "functional programming in scala"

Output

java.lang.UnsupportedOperationException: mkClosure(other.apply():�[35mPlayground.Stream[B]�[0m)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions