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

put a try catch around calls to propertynames in tab completion. #53127

Conversation

oscardssmith
Copy link
Member

fixes #53126

@oscardssmith oscardssmith added REPL Julia's REPL (Read Eval Print Loop) bugfix This change fixes an existing bug labels Jan 30, 2024
@oscardssmith oscardssmith requested a review from aviatesk January 30, 2024 20:50
@oscardssmith oscardssmith changed the title put a try catch around calls to propertynames put a try catch around calls to propertynames in tab completion. Jan 30, 2024
@vtjnash vtjnash added the merge me PR is reviewed. Merge when all tests are passing label Jan 30, 2024
@aviatesk aviatesk merged commit 1295379 into JuliaLang:master Jan 31, 2024
9 of 11 checks passed
@oscardssmith oscardssmith deleted the fix-replcompletion-propertynames-throws branch January 31, 2024 01:55
@oscardssmith oscardssmith removed the merge me PR is reviewed. Merge when all tests are passing label Jan 31, 2024
Comment on lines +2251 to +2254
struct Issue53126
end
Base.propertynames(::Type{A}) = error()
@test isempty(test_complete_foo(A))
Copy link
Member

Choose a reason for hiding this comment

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

Hmm, this test case is just broken..

aviatesk added a commit that referenced this pull request Jan 31, 2024
aviatesk added a commit that referenced this pull request Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This change fixes an existing bug REPL Julia's REPL (Read Eval Print Loop)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

REPL completion fails when propertynames throws an error
3 participants