-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Description
Compiler version
3.8.0-RC1-bin-20250930-572e562-NIGHTLY
Minimized code
CLASSPATH=$(cs fetch -p org.scala-lang:scala3-compiler_3:\
3.8.0-RC1-bin-20250930-572e562-NIGHTLY \
-r https://repo.scala-lang.org:443/artifactory/maven-nightlies/)
java -cp "$CLASSPATH" dotty.tools.repl.Main -usejavacp
Welcome to Scala 3.8.0-RC1-bin-20250930-572e562-NIGHTLY-git-572e562 (21.0.8, Java OpenJDK 64-Bit Server VM).
Type in expressions for evaluation. Or try :help.
scala> (1, 2L, 3.0, 4.0f, 'a', "abc")
val res0: (Int, Long, Double, Float, Char, String) = (1,2,3.0,4.0,a,abc) // NOT formatted
scala> pprintln((1, 2L, 3.0, 4.0f, 'a', "abc"))
(1, 2L, 3.0, 4.0F, 'a', "abc")
scala>
Expectation
this is different to the behavior of the repl
command in build - but it does not seem to be any setting causing this except perhaps the classpath itself.