plenary.enum uses nonexistent metamethod __gt
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 48/100
Research direction
Start at lua/plenary/enum.lua line 67 and compare the implementation with Lua's documented relational metamethods. Verify the enum comparison behavior using the repository's existing enum entry points or checks; done means the comparison no longer depends on an unsupported metamethod.
Written by the indexing model from the issue text.
Description
Please pardon my bluntness. My lua foo isn't that strong and what I have is fairly rusty. I had to look in my pil books and the reference manuals to refresh my memory about metamethods.
lua/plenary/enum.lua, line 67: lua supports three relational metamethods, __eq, __lt, and __le. As I understand it, the Variant:__gt function will not be recognized by lua.
- Dominant language
- Lua
- Stars
- 3.5k
- Forks
- 340
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nvim-lua/plenary.nvim
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
nvim-lua/plenary.nvim#682 ·
-
uniform usage of `os.getenv`Possibly taken @rakotomandimby claimed this 115 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 72/100
nvim-lua/plenary.nvim#680 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
nvim-lua/plenary.nvim#675 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
nvim-lua/plenary.nvim#672 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
nvim-lua/plenary.nvim#671 · 1 comment ·
All issues in nvim-lua/plenary.nvim
Similar issues
-
5.scope: tracking 6.topic: lua
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
NixOS/nixpkgs#570322 · 3 reactions ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
PathOfBuildingCommunity/PathOfBuilding-PoE2#2560 ·
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Nevcairiel/GatherMate2#62 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
agent-butler-finding chore
Difficulty 1/5 Under an hour Newbie friendliness 92/100
codymikol/multiverse.nvim#372 ·
Maintainers usually reply within 1 day