[love-api] love.Data:clone() -> love.Data
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 62/100
Research direction
Locate the love.Data:clone() function annotation in the love API definitions and inspect how related inheritance or generic annotations are expressed. Update the annotation so cloning a subtype such as love.ImageData preserves that subtype, then verify the resulting type information for the example described in the issue.
Written by the indexing model from the issue text.
Description
Currently love.Data:clone() returns love.Data, but love.Data is a superclass. That means if you clone love.ImageData, you will receive love.Data (not love.ImageData as expected). Use generics in this function annotation.
- Dominant language
- Lua
- Stars
- 4.4k
- Forks
- 442
- PR merge metrics
- No merged PRs in 30d
Contributor guide
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 LuaLS/lua-language-server
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
LuaLS/lua-language-server#3461 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
LuaLS/lua-language-server#3460 · 1 comment · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
LuaLS/lua-language-server#3459 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 64/100
LuaLS/lua-language-server#3458 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
LuaLS/lua-language-server#3456 ·
All issues in LuaLS/lua-language-server
Similar issues
-
OS:Windows
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
api7/lua-resty-saml#62 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
nvim-tree/nvim-tree.lua#3357 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
codymikol/multiverse.nvim#320 ·