Skip to content

REPL element truncation should not silently truncate #12337

@som-snytt

Description

@som-snytt

reproduction steps

using Scala 2.13.4,

scala -Dscala.repl.maxprintstring=10000
Welcome to Scala 2.13.4 (OpenJDK 64-Bit Server VM, Java 15).
Type in expressions for evaluation. Or try :help.

scala> Iterator.from(1).take(10000).to(List)
[snip] 998, 999, 1000)

problem

The truncated collection is rendered without an ellipsis.

Reported at scala/scala3#11377

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions