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

has-key does not work on namespaces #631

Closed
zzamboni opened this Issue Mar 11, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@zzamboni
Contributor

zzamboni commented Mar 11, 2018

(mentioned in #492, but opening here for follow up)

In my tests, keys works fine on namespaces, but has-key does not:

> kind-of $edit:
▶ ns
> keys $edit:
▶ move-dot-eol~
▶ rprompt-persistent
▶ match-prefix~
▶ complex-candidate~
▶ selected-file
...
> has-key $edit: after-readline
Exception: couldn't get key or index of type 'ns'

@xiaq xiaq added the type:bug label Mar 12, 2018

@xiaq xiaq added this to the 0.12 milestone Mar 12, 2018

fehnomenal added a commit to fehnomenal/elvish that referenced this issue Mar 14, 2018

@xiaq xiaq closed this in #635 Mar 14, 2018

xiaq added a commit that referenced this issue Mar 14, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment