Skip to content
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

Bring back old completions as a deprecated method #20042

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Kordyjan
Copy link
Contributor

No description provided.

@Kordyjan Kordyjan added the backport:done This PR was successfully backported. label Mar 28, 2024
@Kordyjan Kordyjan added this to the 3.4.2 milestone Mar 28, 2024
@@ -255,8 +255,22 @@ class ReplDriver(settings: Array[String],
else
label

@deprecated("Use completionsWithSignatures instead", "3.4.2")
protected final def completions(cursor: Int, expr: String, state0: State): List[Candidate] =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it java.util.List or scala.List. These were previously passed directly to the jline methods expecting java.util.Collection[? <: org.jline.reader.Candidate]

I assume it's java.util.List, but just want to be sure

Copy link
Contributor

@WojciechMazur WojciechMazur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, we only need to ensure to use java.util.List

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.

3 participants