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

When checking for a string/number argument type, use a better error message that includes the argument number #11037

Closed
wants to merge 1 commit into from

Conversation

yegappan
Copy link
Member

@yegappan yegappan commented Sep 2, 2022

No description provided.

@codecov
Copy link

codecov bot commented Sep 2, 2022

Codecov Report

Merging #11037 (3d9e934) into master (a906e8e) will decrease coverage by 0.00%.
The diff coverage is 88.60%.

@@            Coverage Diff             @@
##           master   #11037      +/-   ##
==========================================
- Coverage   81.74%   81.73%   -0.01%     
==========================================
  Files         162      162              
  Lines      187813   187770      -43     
  Branches    42746    42735      -11     
==========================================
- Hits       153531   153482      -49     
- Misses      21798    21804       +6     
  Partials    12484    12484              
Flag Coverage Δ
huge-clang-none 82.67% <88.60%> (-0.01%) ⬇️
huge-gcc-none 54.49% <82.27%> (-0.01%) ⬇️
huge-gcc-testgui 52.93% <86.07%> (-0.01%) ⬇️
huge-gcc-unittests 0.29% <0.00%> (+<0.01%) ⬆️
linux 82.45% <88.60%> (-0.01%) ⬇️
mingw-x64-HUGE 0.00% <0.00%> (ø)
mingw-x64-HUGE-gui 78.17% <83.33%> (-0.02%) ⬇️
windows 76.95% <83.33%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/popupwin.c 86.81% <0.00%> (+0.03%) ⬆️
src/testing.c 89.89% <86.66%> (+0.89%) ⬆️
src/blob.c 92.45% <100.00%> (-0.03%) ⬇️
src/cmdexpand.c 91.91% <100.00%> (-0.01%) ⬇️
src/evalfunc.c 90.88% <100.00%> (-0.03%) ⬇️
src/sign.c 90.32% <100.00%> (-0.05%) ⬇️
src/strings.c 93.13% <100.00%> (-0.28%) ⬇️
src/time.c 89.19% <100.00%> (-0.12%) ⬇️
src/if_xcmdsrv.c 76.88% <0.00%> (-0.71%) ⬇️
src/netbeans.c 72.16% <0.00%> (-0.52%) ⬇️
... and 13 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@brammool brammool closed this in 8deb2b3 Sep 2, 2022
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Apr 25, 2023
…not specific

Problem:    Error message for wrong argument type is not specific.
Solution:   Include more information in the error. (Yegappan Lakshmanan,
            closes vim/vim#11037)

vim/vim@8deb2b3

Skip reduce() and deepcopy() changes because of missing patches.

Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Apr 25, 2023
…not specific

Problem:    Error message for wrong argument type is not specific.
Solution:   Include more information in the error. (Yegappan Lakshmanan,
            closes vim/vim#11037)

vim/vim@8deb2b3

Skip reduce() and deepcopy() changes because of missing patches.

Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
zeertzjq added a commit to neovim/neovim that referenced this pull request Apr 25, 2023
…not specific (#23315)

Problem:    Error message for wrong argument type is not specific.
Solution:   Include more information in the error. (Yegappan Lakshmanan,
            closes vim/vim#11037)

vim/vim@8deb2b3

Skip reduce() and deepcopy() changes because of missing patches.

Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
folke pushed a commit to folke/neovim that referenced this pull request May 22, 2023
…not specific (neovim#23315)

Problem:    Error message for wrong argument type is not specific.
Solution:   Include more information in the error. (Yegappan Lakshmanan,
            closes vim/vim#11037)

vim/vim@8deb2b3

Skip reduce() and deepcopy() changes because of missing patches.

Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Aug 17, 2023
…ific

Problem:    Error message for wrong argument type is not specific.
Solution:   Include more information in the error. (Yegappan Lakshmanan,
            closes vim/vim#11037)

vim/vim@8deb2b3

Cherry-pick test_listdict.vim changes from patch 8.2.4809.

Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant