Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Use __proto__ on the object in the REPL tab-completion. #1572

Closed
wants to merge 1 commit into from
Closed

Use __proto__ on the object in the REPL tab-completion. #1572

wants to merge 1 commit into from

Conversation

TooTallNate
Copy link

Some people (me) use __proto__ to augment an Object's prototype after it's been created.
This patch helps make the "new" prototype properties visible if necessary in the REPL's tab completion.

I would attach a test case but I'm not sure how to test for this tab-completion behavior. At least I couldn't find an existing one.

Thanks in advance!

Some people use __proto__ to augment an Object's prototype after it's been created.
This patch helps make the "new" prototype properties visible if necessary.
@TooTallNate
Copy link
Author

@koichik Here's a perhaps better patch: https://gist.github.com/1165960

@TooTallNate
Copy link
Author

Closed by 8ec31a3...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant