Skip to content

Commit

Permalink
Fix complete_line for Julia REPL with tab-completion (#502)
Browse files Browse the repository at this point in the history
* Fix complete_line for Julia REPL with tab-completion

The current nightly Julia REPL asserts the type of LineEdit.complete_line

* Patch version bump => 0.13.18
  • Loading branch information
frankier committed Sep 26, 2023
1 parent ba1ea5c commit 01e0062
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "RCall"
uuid = "6f49c342-dc21-5d91-9882-a32aef131414"
authors = ["Douglas Bates <dmbates@gmail.com>", "Randy Lai <randy.cs.lai@gmail.com>", "Simon Byrne <simonbyrne@gmail.com>"]
version = "0.13.17"
version = "0.13.18"

[deps]
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"
Expand Down
2 changes: 1 addition & 1 deletion src/RPrompt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ function LineEdit.complete_line(c::RCompletionProvider, s)
return ret, token, true
end

return String[], 0:-1, false
return String[], "", false
end

function create_r_repl(repl, main)
Expand Down

2 comments on commit 01e0062

@palday
Copy link
Collaborator

@palday palday commented on 01e0062 Sep 26, 2023

Choose a reason for hiding this comment

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

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/92268

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.13.18 -m "<description of version>" 01e006271142c62554ccabc1194680fc7f4156a3
git push origin v0.13.18

Please sign in to comment.