Skip to content

Conversation

@bishabosha
Copy link
Member

@bishabosha bishabosha commented Nov 6, 2025

The class name changed, but the reflective call is still necessary for deeply nested objects to be formatted correctly.

@tgodzik @Gedochao for 3.8 backport recommendation

./cc @lihaoyi

The class name changed, but the reflective call is still necessary for deeply nested objects to be formatted correctly.
@bishabosha bishabosha added the backport:nominated If we agree to backport this PR, replace this tag with "backport:accepted", otherwise delete it. label Nov 6, 2025
@Gedochao Gedochao requested a review from hamzaremmal November 6, 2025 20:24
@Gedochao Gedochao added this to the 3.8.0 milestone Nov 6, 2025
@Gedochao
Copy link
Contributor

Gedochao commented Nov 6, 2025

@lihaoyi
Copy link
Contributor

lihaoyi commented Nov 9, 2025

Looks good to me, need this to merge first so I can rebase #24298 on top

@lihaoyi
Copy link
Contributor

lihaoyi commented Nov 9, 2025

@bishabosha how are you testing this? bin/scala still doesn't work yet on my machine

@Gedochao
Copy link
Contributor

Gedochao commented Nov 9, 2025

@bishabosha how are you testing this? bin/scala still doesn't work yet on my machine

Scala CLI v1.10.0 handles the new REPL artifact.
It's bumped in the compiler repo.

@bishabosha
Copy link
Member Author

I test by publishing the binary locally with sbt --client scala3-repl/publishLocalBin
then execute java command directly.

java -cp $(cs fetch -p org.scala-lang:scala3-repl_3:3.8.0-RC1-bin-SNAPSHOT) dotty.tools.repl.Main -cp $(cs fetch -p org.scala-lang:scala3-repl_3:3.8.0-RC1-bin-SNAPSHOT)

although @hamzaremmal is working on either an alternative or replacement PR that should hide pprint from visible class path I think

@lihaoyi
Copy link
Contributor

lihaoyi commented Nov 9, 2025

@Gedochao I'm getting an error running bin/scala on latest clean master, which includes the latest Scala-CLI version bump

lihaoyi scala3$ git log
commit 5d43d024ea0aae1448de98d819c694d97684f18e (HEAD -> main, upstream/main)
Merge: d47c0c60da 0ad5aa0ae9
Author: Martin Odersky <odersky@gmail.com>
Date:   Sat Nov 8 15:20:40 2025 +0100

    Don't prematurely force info of fields with inferred types (#24336)
    
    
    Don't prematurely force info of currently defined fields with inferred
    types when computing captureSetImpliedByFields.
    
    Fixes #24335

commit 0ad5aa0ae97a09aa5d8002ca2b462dcc7a2dcc72
Author: Martin Odersky <odersky@gmail.com>
Date:   Wed Nov 5 16:35:33 2025 +0100

    Generalize inferred types check
    
    We now need to also check that fields with inferred types would not contribute
    a fresh capability to the implied capture set of the class.

commit d47c0c60dada8abfc565bfeeb580beeb184bc45d
Author: Piotr Chabelski <ged.subfan@gmail.com>
Date:   Fri Nov 7 15:37:01 2025 +0100

    Bump Scala CLI to v1.10.0 (was v1.9.1) and Coursier to v2.1.25-M19 (was 2.1.24) (#24362)
    
    https://github.com/VirtusLab/scala-cli/releases/tag/v1.10.0
    https://github.com/coursier/coursier/releases/tag/v2.1.25-M19

commit bbe36509df54ee4705afbebc638533ff90c736d3
Author: Martin Odersky <odersky@gmail.com>
Date:   Tue Nov 4 16:34:07 2025 +0100

    Don't prematurely force info of currently defined fields with inferred types
    
    Don't prematurely force info of currently defined fields with inferred types when
    computing captureSetImpliedByFields.
    
    Fixes #24335

commit 1cace88db5e0bdb5f5f19808301e31d92346f783
Author: Som Snytt <som.snytt@gmail.com>
Date:   Thu Nov 6 23:56:43 2025 -0800

    Clean up Using idioms

commit 1efa7bd7648a9556c74ec99968dbe20052fe44d2
Author: Som Snytt <som.snytt@gmail.com>
Date:   Wed Oct 22 06:13:32 2025 -0700

    Improve settings state erroring

commit 416aafa25062fd78c540db055bacbba155680a1c
Author: Som Snytt <som.snytt@gmail.com>
Date:   Tue Aug 26 11:59:15 2025 -0700

    Delete redundantly warning for list options

commit 15b0dabf4da834662776ec431c6b849d945a24e9
Author: Som Snytt <som.snytt@gmail.com>
lihaoyi scala3$ git clean -xdf
Removing .vscode/
Removing compiler/target/
Removing dist/linux-aarch64/
Removing dist/linux-x86_64/
Removing dist/mac-aarch64/
Removing dist/mac-x86_64/
Removing dist/target/
Removing dist/win-x86_64/
Removing interfaces/target/
Removing library/target/
Removing out/
Removing project/project/project/
Removing project/project/target/
Removing project/target/
Removing sbt-bridge/src/target/
Removing scala3-bootstrapped-new/
Removing scala3-bootstrapped/
Removing scala3-nonbootstrapped/
Removing scaladoc-js/out/
Removing scaladoc-testcases/docs/_assets/css/content-contributors.css
Removing scaladoc-testcases/docs/_assets/js/
Removing target/
Removing tasty/target/
Skipping repository tests/out/bootstrap/sjsJUnitTests/scala-js-src-1.20.1
Skipping repository tests/out/bootstrap/sjsJUnitTests/scala-js-src-1.19.0
Skipping repository tests/sjs-junit/target/scala-js-src-1.20.1
lihaoyi scala3$ bin/scala        
Building Dotty...
[info] welcome to sbt 1.11.5 (Homebrew Java 23)
[info] loading settings for project scala3-build-build from build.sbt...
[info] loading project definition from /Users/lihaoyi/Github/scala3/project/project
[info] compiling 1 Scala source to /Users/lihaoyi/Github/scala3/project/project/target/scala-2.12/sbt-1.0/classes ...
[info] loading settings for project scala3-build from build.sbt, plugins.sbt...
[info] loading project definition from /Users/lihaoyi/Github/scala3/project
[info] compiling 16 Scala sources to /Users/lihaoyi/Github/scala3/project/target/scala-2.12/sbt-1.0/classes ...
[info] loading settings for project scala3 from build.sbt...
[info] resolving key references (60443 settings) ...
git version 2.37.1 (Apple Git-137.1)
[info] set current project to scala3 (in build file:/Users/lihaoyi/Github/scala3/)
[info] [republish] Checking the git revision of the current project
[info] [republish] No extra properties to write.
[info] Wrote /Users/lihaoyi/Github/scala3/library/../out/bootstrap/scala3-library-bootstrapped/scala-3.8.0-RC1-bin-SNAPSHOT-nonbootstrapped/scala3-library_3-3.8.0-RC1-bin-SNAPSHOT.pom
[info] Wrote /Users/lihaoyi/Github/scala3/interfaces/target/scala3-interfaces-3.8.0-RC1-bin-SNAPSHOT.pom
[info] Wrote /Users/lihaoyi/Github/scala3/tasty/../out/bootstrap/tasty-core-bootstrapped/scala-3.8.0-RC1-bin-SNAPSHOT-nonbootstrapped/tasty-core_3-3.8.0-RC1-bin-SNAPSHOT.pom
[info] Wrote /Users/lihaoyi/Github/scala3/compiler/../out/bootstrap/scala3-compiler-bootstrapped/scala-3.8.0-RC1-bin-SNAPSHOT-nonbootstrapped/scala3-compiler_3-3.8.0-RC1-bin-SNAPSHOT.pom
[info] Wrote /Users/lihaoyi/Github/scala3/sbt-bridge/src/target/scala3-sbt-bridge-3.8.0-RC1-bin-SNAPSHOT.pom
[info] Wrote /Users/lihaoyi/Github/scala3/staging/../out/bootstrap/scala3-staging/scala-3.8.0-RC1-bin-SNAPSHOT-nonbootstrapped/scala3-staging_3-3.8.0-RC1-bin-SNAPSHOT.pom
[info] Wrote /Users/lihaoyi/Github/scala3/tasty-inspector/../out/bootstrap/scala3-tasty-inspector/scala-3.8.0-RC1-bin-SNAPSHOT-nonbootstrapped/scala3-tasty-inspector_3-3.8.0-RC1-bin-SNAPSHOT.pom
[info] Wrote /Users/lihaoyi/Github/scala3/scaladoc/../out/bootstrap/scaladoc/scala-3.8.0-RC1-bin-SNAPSHOT-nonbootstrapped/scaladoc_3-3.8.0-RC1-bin-SNAPSHOT.pom
[info] compiling 8 Java sources to /Users/lihaoyi/Github/scala3/interfaces/target/classes ...
[info] compiling 107 Scala sources and 25 Java sources to /Users/lihaoyi/Github/scala3/library/target/scala-3.7.4/classes ...
[info] [republish] Downloading https://github.com/VirtusLab/scala-cli/releases/download/v1.10.0/scala-cli-aarch64-apple-darwin.gz to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/streams/_global/republishFetchLaunchers/_global/streams/republish-launchers/scala-cli.gz...
[info] [republish] Downloading https://github.com/coursier/coursier/releases/download/v2.1.25-M19/coursier.jar to /Users/lihaoyi/Github/scala3/dist/target/republish/coursier/coursier.jar...
[info] Unpacking scalajs-ir sources to /Users/lihaoyi/Github/scala3/compiler/target/scala-3.7.4/src_managed/main/scalajs-ir-src...
[info] Unpacking scalajs-ir sources to /Users/lihaoyi/Github/scala3/compiler/../out/bootstrap/scala3-compiler-bootstrapped/scala-3.8.0-RC1-bin-SNAPSHOT-nonbootstrapped/src_managed/main/scalajs-ir-src...
[info] [republish] Downloaded https://github.com/coursier/coursier/releases/download/v2.1.25-M19/coursier.jar to /Users/lihaoyi/Github/scala3/dist/target/republish/coursier/coursier.jar...
[info] compiling 8 Scala sources to /Users/lihaoyi/Github/scala3/tasty/target/scala-3.7.4/classes ...
[info] [republish] Downloaded https://github.com/VirtusLab/scala-cli/releases/download/v1.10.0/scala-cli-aarch64-apple-darwin.gz to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/streams/_global/republishFetchLaunchers/_global/streams/republish-launchers/scala-cli.gz...
[info] compiling 588 Scala sources and 8 Java sources to /Users/lihaoyi/Github/scala3/compiler/target/scala-3.7.4/classes ...
[info] [republish] uncompressed gz file /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/streams/_global/republishFetchLaunchers/_global/streams/republish-launchers/scala-cli.gz to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/libexec/scala-cli...
[warn] -- [E216] Syntax Warning: /Users/lihaoyi/Github/scala3/compiler/src/dotty/tools/scripting/Main.scala:81:52 
[warn] 81 |  def pathsep: String = sys.props("path.separator").nn
[warn]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[warn]    |                        Unnecessary .nn: qualifier is already not null
[warn] -- [E216] Syntax Warning: /Users/lihaoyi/Github/scala3/compiler/src/dotty/tools/scripting/Main.scala:105:51 
[warn] 105 |  lazy val userDir: String = sys.props("user.dir").nn.norm
[warn]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^
[warn]     |                        Unnecessary .nn: qualifier is already not null
[warn] -- [E216] Syntax Warning: /Users/lihaoyi/Github/scala3/compiler/src/dotty/tools/scripting/Util.scala:59:52 
[warn] 59 |  def pathsep: String = sys.props("path.separator").nn
[warn]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[warn]    |                        Unnecessary .nn: qualifier is already not null
[warn] three warnings found
[info] compiling 20 Java sources to /Users/lihaoyi/Github/scala3/sbt-bridge/src/target/classes ...
[info] compiling 107 Scala sources and 25 Java sources to /Users/lihaoyi/Github/scala3/out/bootstrap/scala3-library-bootstrapped/scala-3.8.0-RC1-bin-SNAPSHOT-nonbootstrapped/classes ...
[info] compiling 109 Scala sources and 25 Java sources to /Users/lihaoyi/Github/scala3/out/bootstrap/scala3-library-bootstrappedJS/scala-3.8.0-RC1-bin-SNAPSHOT-nonbootstrapped/classes ...
[info] compiling 8 Scala sources to /Users/lihaoyi/Github/scala3/out/bootstrap/tasty-core-bootstrapped/scala-3.8.0-RC1-bin-SNAPSHOT-nonbootstrapped/classes ...
[info] compiling 5 Scala sources to /Users/lihaoyi/Github/scala3/scaladoc-js/out/bootstrap/scaladoc-js-common/scala-3.8.0-RC1-bin-SNAPSHOT-nonbootstrapped/classes ...
[info] compiling 588 Scala sources and 8 Java sources to /Users/lihaoyi/Github/scala3/out/bootstrap/scala3-compiler-bootstrapped/scala-3.8.0-RC1-bin-SNAPSHOT-nonbootstrapped/classes ...
[info] compiling 13 Scala sources to /Users/lihaoyi/Github/scala3/scaladoc-js/out/bootstrap/scaladoc-js-main/scala-3.8.0-RC1-bin-SNAPSHOT-nonbootstrapped/classes ...
[info] compiling 2 Scala sources to /Users/lihaoyi/Github/scala3/scaladoc-js/out/bootstrap/scaladoc-js-contributors/scala-3.8.0-RC1-bin-SNAPSHOT-nonbootstrapped/classes ...
[info] Full optimizing /Users/lihaoyi/Github/scala3/scaladoc-js/contributors/../out/bootstrap/scaladoc-js-contributors/scala-3.8.0-RC1-bin-SNAPSHOT-nonbootstrapped/scaladoc-js-contributors-opt
[info] Full optimizing /Users/lihaoyi/Github/scala3/scaladoc-js/main/../out/bootstrap/scaladoc-js-main/scala-3.8.0-RC1-bin-SNAPSHOT-nonbootstrapped/scaladoc-js-main-opt
[info] Closure: 0 error(s), 0 warning(s)
[info] Closure: 0 error(s), 0 warning(s)
[warn] -- [E216] Syntax Warning: /Users/lihaoyi/Github/scala3/compiler/src/dotty/tools/scripting/Main.scala:81:52 
[warn] 81 |  def pathsep: String = sys.props("path.separator").nn
[warn]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[warn]    |                        Unnecessary .nn: qualifier is already not null
[warn] -- [E216] Syntax Warning: /Users/lihaoyi/Github/scala3/compiler/src/dotty/tools/scripting/Main.scala:105:51 
[warn] 105 |  lazy val userDir: String = sys.props("user.dir").nn.norm
[warn]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^
[warn]     |                        Unnecessary .nn: qualifier is already not null
[warn] -- [E216] Syntax Warning: /Users/lihaoyi/Github/scala3/compiler/src/dotty/tools/scripting/Util.scala:59:52 
[warn] 59 |  def pathsep: String = sys.props("path.separator").nn
[warn]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[warn]    |                        Unnecessary .nn: qualifier is already not null
[warn] three warnings found
[info] compiling 5 Scala sources to /Users/lihaoyi/Github/scala3/out/bootstrap/scala3-staging/scala-3.8.0-RC1-bin-SNAPSHOT-nonbootstrapped/classes ...
[info] compiling 3 Scala sources to /Users/lihaoyi/Github/scala3/out/bootstrap/scala3-tasty-inspector/scala-3.8.0-RC1-bin-SNAPSHOT-nonbootstrapped/classes ...
[info] compiling 88 Scala sources and 1 Java source to /Users/lihaoyi/Github/scala3/out/bootstrap/scaladoc/scala-3.8.0-RC1-bin-SNAPSHOT-nonbootstrapped/classes ...
[info] [republish] Fetching org.scala-lang:scala3-interfaces:3.8.0-RC1-bin-SNAPSHOT with coursier.jar...
[info] [republish] Fetching org.scala-lang:scala3-compiler_3:3.8.0-RC1-bin-SNAPSHOT with coursier.jar...
https://repo1.maven.org/maven2/org/scala-lang/modules/scala-asm/9.8.0-scala-1/s…
  100.0% [##########] 1.3 KiB (3.4 KiB / s)
https://repo1.maven.org/maven2/org/scala-sbt/compiler-interface/1.10.7/compiler…
  100.0% [##########] 2.9 KiB (7.8 KiB / s)
https://repo1.maven.org/maven2/org/scala-lang/scala-library/2.13.16/scala-libra…
  100.0% [##########] 1.6 KiB (29.5 KiB / s)
https://repo1.maven.org/maven2/org/scala-sbt/util-interface/1.10.7/util-interfa…
  100.0% [##########] 2.5 KiB (16.6 KiB / s)
https://repo1.maven.org/maven2/org/scala-sbt/compiler-interface/1.10.7/compiler…
  100.0% [##########] 111.2 KiB (1.7 MiB / s)
https://repo1.maven.org/maven2/org/scala-sbt/util-interface/1.10.7/util-interfa…
  100.0% [##########] 4.3 KiB (67.8 KiB / s)
https://repo1.maven.org/maven2/org/scala-lang/modules/scala-asm/9.8.0-scala-1/s…
  100.0% [##########] 316.1 KiB (2.5 MiB / s)
[info] [republish] Fetching org.scala-lang:scala3-library_3:3.8.0-RC1-bin-SNAPSHOT with coursier.jar...
[info] [republish] Fetching org.scala-lang:tasty-core_3:3.8.0-RC1-bin-SNAPSHOT with coursier.jar...
[info] [republish] Fetching org.scala-lang:scala3-staging_3:3.8.0-RC1-bin-SNAPSHOT with coursier.jar...
[info] [republish] Fetching org.scala-lang:scala3-tasty-inspector_3:3.8.0-RC1-bin-SNAPSHOT with coursier.jar...
[info] [republish] Fetching org.scala-lang:scaladoc_3:3.8.0-RC1-bin-SNAPSHOT with coursier.jar...
https://repo1.maven.org/maven2/com/fasterxml/jackson/dataformat/jackson-datafor…
  100.0% [##########] 2.6 KiB (4.8 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-ext-gfm-strikethro…
  100.0% [##########] 1.3 KiB (2.5 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-ext-gfm-tasklist/0…
  100.0% [##########] 1.4 KiB (2.6 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-ext-tables/0.62.2/…
  100.0% [##########] 1.5 KiB (2.9 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-ext-yaml-front-mat…
  100.0% [##########] 1.3 KiB (2.4 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-util-html/0.62.2/f…
  100.0% [##########] 1.3 KiB (2.3 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-ext-wikilink/0.62.…
  100.0% [##########] 1.5 KiB (24.6 KiB / s)
https://repo1.maven.org/maven2/nl/big-o/liqp/0.8.2/liqp-0.8.2.pom
  100.0% [##########] 7.8 KiB (110.9 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-util-ast/0.62.2/fl…
  100.0% [##########] 1.9 KiB (21.4 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark/0.62.2/flexmark-0.…
  100.0% [##########] 4.0 KiB (44.1 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-ext-anchorlink/0.6…
  100.0% [##########] 1.6 KiB (8.4 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-ext-emoji/0.62.2/f…
  100.0% [##########] 1.5 KiB (6.2 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-util-data/0.62.2/f…
  100.0% [##########] 1.2 KiB (6.2 KiB / s)
https://repo1.maven.org/maven2/org/jsoup/jsoup/1.17.2/jsoup-1.17.2.pom
  100.0% [##########] 15.8 KiB (65.1 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-ext-autolink/0.62.…
  100.0% [##########] 1.8 KiB (7.8 KiB / s)
https://repo1.maven.org/maven2/com/fasterxml/jackson/dataformat/jackson-datafor…
  100.0% [##########] 3.4 KiB (37.7 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-java/0.62.2/flexma…
  100.0% [##########] 23.4 KiB (260.2 KiB / s)
https://repo1.maven.org/maven2/com/fasterxml/jackson/jackson-base/2.15.1/jackso…
  100.0% [##########] 11.0 KiB (200.2 KiB / s)
https://repo1.maven.org/maven2/com/fasterxml/jackson/jackson-bom/2.15.1/jackson…
  100.0% [##########] 17.6 KiB (408.7 KiB / s)
https://repo1.maven.org/maven2/com/fasterxml/jackson/jackson-parent/2.15/jackso…
  100.0% [##########] 6.4 KiB (67.0 KiB / s)
https://repo1.maven.org/maven2/com/fasterxml/oss-parent/50/oss-parent-50.pom
  100.0% [##########] 23.1 KiB (123.3 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-util-sequence/0.62…
  100.0% [##########] 1.4 KiB (37.3 KiB / s)
https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.15…
  100.0% [##########] 18.9 KiB (336.8 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-jira-converter/0.6…
  100.0% [##########] 2.1 KiB (36.7 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-util-visitor/0.62.…
  100.0% [##########] 988B (17.2 KiB / s)
https://repo1.maven.org/maven2/org/nibor/autolink/autolink/0.6.0/autolink-0.6.0…
  100.0% [##########] 9.0 KiB (159.9 KiB / s)
https://repo1.maven.org/maven2/org/yaml/snakeyaml/2.0/snakeyaml-2.0.pom
  100.0% [##########] 20.3 KiB (495.9 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-util-builder/0.62.…
  100.0% [##########] 1.3 KiB (31.2 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-util-collection/0.…
  100.0% [##########] 1.1 KiB (20.4 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-util-dependency/0.…
  100.0% [##########] 1.5 KiB (28.3 KiB / s)
https://repo1.maven.org/maven2/org/jetbrains/annotations/15.0/annotations-15.0.…
  100.0% [##########] 5.4 KiB (54.7 KiB / s)
https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2…
  100.0% [##########] 5.9 KiB (122.8 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-util-misc/0.62.2/f…
  100.0% [##########] 979B (14.9 KiB / s)
https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.15.1/j…
  100.0% [##########] 9.2 KiB (200.7 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-util-format/0.62.2…
  100.0% [##########] 2.1 KiB (41.3 KiB / s)
https://repo1.maven.org/maven2/org/antlr/antlr4-runtime/4.7.2/antlr4-runtime-4.…
  100.0% [##########] 3.5 KiB (58.9 KiB / s)
https://repo1.maven.org/maven2/com/fasterxml/jackson/datatype/jackson-datatype-…
  100.0% [##########] 4.8 KiB (90.4 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-util/0.62.2/flexma…
  100.0% [##########] 3.9 KiB (63.2 KiB / s)
https://repo1.maven.org/maven2/ua/co/k/strftime4j/1.0.5/strftime4j-1.0.5.pom
  100.0% [##########] 8.9 KiB (185.6 KiB / s)
https://repo1.maven.org/maven2/com/fasterxml/jackson/jackson-parent/2.12/jackso…
  100.0% [##########] 7.3 KiB (128.8 KiB / s)
https://repo1.maven.org/maven2/com/fasterxml/jackson/module/jackson-modules-jav…
  100.0% [##########] 3.3 KiB (57.0 KiB / s)
https://repo1.maven.org/maven2/org/antlr/antlr4-master/4.7.2/antlr4-master-4.7.…
  100.0% [##########] 4.3 KiB (74.2 KiB / s)
https://repo1.maven.org/maven2/org/junit/junit-bom/5.9.2/junit-bom-5.9.2.pom
  100.0% [##########] 5.5 KiB (94.8 KiB / s)
https://repo1.maven.org/maven2/com/fasterxml/jackson/jackson-base/2.12.1/jackso…
  100.0% [##########] 9.1 KiB (206.2 KiB / s)
https://repo1.maven.org/maven2/com/fasterxml/oss-parent/41/oss-parent-41.pom
  100.0% [##########] 22.8 KiB (496.3 KiB / s)
https://repo1.maven.org/maven2/org/sonatype/oss/oss-parent/9/oss-parent-9.pom
  100.0% [##########] 6.4 KiB (142.6 KiB / s)
https://repo1.maven.org/maven2/com/fasterxml/jackson/jackson-bom/2.12.1/jackson…
  100.0% [##########] 14.2 KiB (249.5 KiB / s)
https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2…
  100.0% [##########] 6.9 KiB (55.1 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-ext-ins/0.62.2/fle…
  100.0% [##########] 1.3 KiB (10.3 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-ext-superscript/0.…
  100.0% [##########] 1.3 KiB (10.5 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-util-options/0.62.…
  100.0% [##########] 1.3 KiB (10.1 KiB / s)
https://repo1.maven.org/maven2/org/nibor/autolink/autolink/0.6.0/autolink-0.6.0…
  100.0% [##########] 15.7 KiB (403.1 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-util-options/0.62.…
  100.0% [##########] 11.6 KiB (150.9 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-util/0.62.2/flexma…
  100.0% [##########] 1.9 KiB (18.7 KiB / s)
https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.15.1/j…
  100.0% [##########] 533.3 KiB (4.4 MiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-util-collection/0.…
  100.0% [##########] 65.1 KiB (1.1 MiB / s)
https://repo1.maven.org/maven2/org/antlr/antlr4-runtime/4.7.2/antlr4-runtime-4.…
  100.0% [##########] 330.0 KiB (2.7 MiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-util-sequence/0.62…
  100.0% [##########] 217.6 KiB (2.1 MiB / s)
https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.15…
  100.0% [##########] 1.5 MiB (9.7 MiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-ext-yaml-front-mat…
  100.0% [##########] 16.3 KiB (259.3 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-jira-converter/0.6…
  100.0% [##########] 11.7 KiB (209.1 KiB / s)
https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2…
  100.0% [##########] 73.8 KiB (1.8 MiB / s)
https://repo1.maven.org/maven2/com/fasterxml/jackson/datatype/jackson-datatype-…
  100.0% [##########] 117.5 KiB (1.7 MiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-ext-superscript/0.…
  100.0% [##########] 11.8 KiB (250.2 KiB / s)
https://repo1.maven.org/maven2/ua/co/k/strftime4j/1.0.5/strftime4j-1.0.5.jar
  100.0% [##########] 30.7 KiB (452.1 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-ext-gfm-strikethro…
  100.0% [##########] 22.7 KiB (435.6 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-ext-anchorlink/0.6…
  100.0% [##########] 11.8 KiB (250.4 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-ext-gfm-tasklist/0…
  100.0% [##########] 22.2 KiB (341.8 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-ext-tables/0.62.2/…
  100.0% [##########] 46.0 KiB (792.8 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-util-data/0.62.2/f…
  100.0% [##########] 24.4 KiB (451.0 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-ext-wikilink/0.62.…
  100.0% [##########] 29.2 KiB (607.7 KiB / s)
https://repo1.maven.org/maven2/nl/big-o/liqp/0.8.2/liqp-0.8.2.jar
  100.0% [##########] 291.4 KiB (4.7 MiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-ext-ins/0.62.2/fle…
  100.0% [##########] 11.3 KiB (201.7 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-util-html/0.62.2/f…
  100.0% [##########] 53.3 KiB (1.0 MiB / s)
https://repo1.maven.org/maven2/org/yaml/snakeyaml/2.0/snakeyaml-2.0.jar
  100.0% [##########] 327.0 KiB (5.6 MiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-util-dependency/0.…
  100.0% [##########] 16.0 KiB (276.5 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-util-format/0.62.2…
  100.0% [##########] 106.5 KiB (1.4 MiB / s)
https://repo1.maven.org/maven2/org/jetbrains/annotations/15.0/annotations-15.0.…
  100.0% [##########] 18.2 KiB (275.4 KiB / s)
https://repo1.maven.org/maven2/com/fasterxml/jackson/dataformat/jackson-datafor…
  100.0% [##########] 53.4 KiB (1.1 MiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-ext-autolink/0.62.…
  100.0% [##########] 9.5 KiB (161.0 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-util-misc/0.62.2/f…
  100.0% [##########] 57.8 KiB (932.6 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-ext-emoji/0.62.2/f…
  100.0% [##########] 70.3 KiB (780.8 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-util-ast/0.62.2/fl…
  100.0% [##########] 63.9 KiB (686.7 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-util-visitor/0.62.…
  100.0% [##########] 6.6 KiB (117.8 KiB / s)
https://repo1.maven.org/maven2/com/vladsch/flexmark/flexmark-util-builder/0.62.…
  100.0% [##########] 5.1 KiB (107.2 KiB / s)
[info] [republish] Fetching org.scala-lang:scala3-sbt-bridge:3.8.0-RC1-bin-SNAPSHOT with coursier.jar...
[info] [republish] publishing com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.12.1 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing org.antlr:antlr4-master:4.7.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.vladsch.flexmark:flexmark-ext-yaml-front-matter:0.62.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.vladsch.flexmark:flexmark-ext-gfm-strikethrough:0.62.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing org.scala-lang:scala3-compiler_3:3.8.0-RC1-bin-SNAPSHOT to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.vladsch.flexmark:flexmark-util:0.62.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.vladsch.flexmark:flexmark-util-dependency:0.62.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.vladsch.flexmark:flexmark-ext-emoji:0.62.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.vladsch.flexmark:flexmark-util-ast:0.62.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.vladsch.flexmark:flexmark-ext-superscript:0.62.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing org.scala-lang:scala3-interfaces:3.8.0-RC1-bin-SNAPSHOT to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing org.scala-lang:scala3-staging_3:3.8.0-RC1-bin-SNAPSHOT to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.vladsch.flexmark:flexmark-util-collection:0.62.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.fasterxml:oss-parent:41 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.vladsch.flexmark:flexmark-util-html:0.62.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing org.scala-lang:scaladoc_3:3.8.0-RC1-bin-SNAPSHOT to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing org.junit:junit-bom:5.9.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.vladsch.flexmark:flexmark-ext-autolink:0.62.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.fasterxml.jackson:jackson-bom:2.15.1 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing org.scala-lang:scala3-tasty-inspector_3:3.8.0-RC1-bin-SNAPSHOT to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing org.jetbrains:annotations:15.0 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.fasterxml.jackson.core:jackson-annotations:2.12.1 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.fasterxml.jackson:jackson-parent:2.12 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.vladsch.flexmark:flexmark-ext-ins:0.62.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing org.scala-lang:scala-library:2.13.16 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.fasterxml.jackson.core:jackson-databind:2.15.1 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.vladsch.flexmark:flexmark-util-builder:0.62.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.vladsch.flexmark:flexmark-ext-tables:0.62.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing org.scala-sbt:util-interface:1.10.7 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.fasterxml.jackson.dataformat:jackson-dataformats-text:2.15.1 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.fasterxml.jackson.core:jackson-annotations:2.15.1 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing org.antlr:antlr4-runtime:4.7.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.fasterxml.jackson:jackson-base:2.15.1 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.vladsch.flexmark:flexmark-ext-anchorlink:0.62.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.fasterxml.jackson:jackson-base:2.12.1 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.15.1 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.fasterxml:oss-parent:50 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.vladsch.flexmark:flexmark-util-visitor:0.62.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.fasterxml.jackson.core:jackson-core:2.15.1 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.fasterxml.jackson:jackson-parent:2.15 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing ua.co.k:strftime4j:1.0.5 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing org.sonatype.oss:oss-parent:9 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.vladsch.flexmark:flexmark-util-options:0.62.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing org.scala-lang.modules:scala-asm:9.8.0-scala-1 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing org.nibor.autolink:autolink:0.6.0 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.vladsch.flexmark:flexmark-ext-gfm-tasklist:0.62.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing org.yaml:snakeyaml:2.0 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing org.scala-lang:tasty-core_3:3.8.0-RC1-bin-SNAPSHOT to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.vladsch.flexmark:flexmark-util-data:0.62.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing org.scala-lang:scala3-library_3:3.8.0-RC1-bin-SNAPSHOT to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.vladsch.flexmark:flexmark:0.62.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.vladsch.flexmark:flexmark-util-format:0.62.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.vladsch.flexmark:flexmark-ext-wikilink:0.62.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing org.jsoup:jsoup:1.17.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.vladsch.flexmark:flexmark-util-misc:0.62.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing org.scala-sbt:compiler-interface:1.10.7 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.fasterxml.jackson:jackson-bom:2.12.1 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing org.scala-lang:scala3-sbt-bridge:3.8.0-RC1-bin-SNAPSHOT to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.vladsch.flexmark:flexmark-jira-converter:0.62.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.fasterxml.jackson.module:jackson-modules-java8:2.12.1 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing nl.big-o:liqp:0.8.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.vladsch.flexmark:flexmark-util-sequence:0.62.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[info] [republish] publishing com.vladsch.flexmark:flexmark-java:0.62.2 to /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/republish/maven2...
[success] Total time: 139 s (0:02:19.0), completed 9 Nov 2025, 9:03:58 pm
The `--offline` option is experimental
Please bear in mind that non-ideal user experience should be expected.
If you encounter any bugs or have feedback to share, make sure to reach out to the maintenance team at https://github.com/VirtusLab/scala-cli
[error]  Error downloading org.scala-lang:scala3-repl_3:3.8.0-RC1-bin-SNAPSHOT
  not found: /Users/lihaoyi/Github/scala3/dist/mac-aarch64/target/universal/stage/maven2/org/scala-lang/scala3-repl_3/3.8.0-RC1-bin-SNAPSHOT/scala3-repl_3-3.8.0-RC1-bin-SNAPSHOT.pom
  not found: /Users/lihaoyi/Library/Caches/ScalaCli/local-repo/1.10.0/org.scala-lang/scala3-repl_3/3.8.0-RC1-bin-SNAPSHOT/ivys/ivy.xml
  No fallback URL found
  not found: /Users/lihaoyi/.ivy2/local/org.scala-lang/scala3-repl_3/3.8.0-RC1-bin-SNAPSHOT/ivys/ivy.xml
  not found: /Users/lihaoyi/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala3-repl_3/3.8.0-RC1-bin-SNAPSHOT/scala3-repl_3-3.8.0-RC1-bin-SNAPSHOT.pom

@lihaoyi
Copy link
Contributor

lihaoyi commented Nov 9, 2025

same failure happens on d47c0c6 as well, so even a clean bin/scala on the exact commit bumping scala-cli does not seem to work

@hamzaremmal
Copy link
Member

although @hamzaremmal is working on either an alternative or replacement PR that should hide pprint from visible class path I think

I've been talking with Jamie about this PR offline and it is just lacking a comment that explains how all of this works.
I removed the reflective call because from a quick lecture of the code one could say that this is completely redundant and yet it works. It took me sometime and Jamie explaining how pprint works for me to understand why it worked. Spoiler: It all relies on what is the identity of a Class in the JVM. I will refactor this code and add a comment about this and it should be good to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:nominated If we agree to backport this PR, replace this tag with "backport:accepted", otherwise delete it.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants