-
Notifications
You must be signed in to change notification settings - Fork 21
some Scala 2 REPL commands should be "deprecated" if not implemented in Scala 3 #13080
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It makes more sense for Scala 3 to say "sorry, I don't support that useful Scala 2 command". If a command isn't useful, it should be removed. Is I agree that it's a nuisance when scala 3 doesn't support the same options as scala 2. It would be nice, but unreasonable, to hold REPL to a higher compatibility standard. |
yes! the idea is to do that too, at least for
hmm.... although that sounds appealing in theory, in practice I don't think it's really that simple (no existing command has literally zero usefulness), and removing things from 2 without a strong motivation just risks annoying people another thought: even separately from the 2 vs 3 considerations, I think having the help text in two sections (core commands and additional commands) is probably a UX improvement. here's the things you should definitely know, and here are some additional things that might also interest you |
yeah, that's unfortunate. I've long intended to try to get it over the finish line :-/ |
That is called "telemetry". (Joke from yesterday's walk outside.)
maybe suggest amm or, |
as per scala/scala3#21660 , I say "mostly" extraneous in Scala 2 because I think we compiler developers sometimes use |
Uh oh!
There was an error while loading. Please reload this page.
as discussed with @Gedochao at Scala core meeting today
in reference to e.g. scala/scala3#21657 about Scala 2's
:sh
command, but there are probably other such commands as wellif I understand correctly, the idea isn't to slate anything for actual removal from Scala 2, but just have unimplemented-in-3 commands print a one-line warning (on first use in a session, but not again in that session) that the command is unimplemented in Scala 3
and I suggest we also make this distinction show up in
:help
, which currently looks likeoff the top of my head: I think we could have two sections, the first would be the core commands that both REPLs support, then a second section with the rest
The text was updated successfully, but these errors were encountered: