Skip to content

Conversation

@hamzaremmal
Copy link
Member

First step towards extracting the repl to be its own artifact.
We need to remove that because the repl will have a dependency on the compiler and we cannot have the compiler depend on the repl too (cyclic dependency)

Related to #24243

@bishabosha
Copy link
Member

bishabosha commented Oct 28, 2025

possible option - detect for presence on classpath and reflectively load or else complain?

@Gedochao
Copy link
Contributor

Already deprecated for removal in 3.7.4:

@hamzaremmal
Copy link
Member Author

possible option - detect for presence on classpath and reflectively load or else complain?

No. I don't understand why they were there in the first place. A complier's job is to compile, not to run the code or spawn a REPL session. We should keep it simple.

@hamzaremmal hamzaremmal marked this pull request as ready for review October 28, 2025 14:10
@hamzaremmal hamzaremmal merged commit ad18d9b into scala:main Oct 29, 2025
51 checks passed
@hamzaremmal hamzaremmal deleted the drop-run-compiler branch October 29, 2025 13:11
@WojciechMazur WojciechMazur added this to the 3.8.0 milestone Oct 29, 2025
@WojciechMazur WojciechMazur added the backport:nominated If we agree to backport this PR, replace this tag with "backport:accepted", otherwise delete it. label Oct 29, 2025
WojciechMazur added a commit that referenced this pull request Nov 12, 2025
… 3.8.0 (#24388)

Backports #24289 to the 3.8.0-RC1.

PR submitted by the release tooling.
[skip ci]
@WojciechMazur WojciechMazur added backport:done This PR was successfully backported. and removed backport:nominated If we agree to backport this PR, replace this tag with "backport:accepted", otherwise delete it. labels Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:done This PR was successfully backported.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants