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

[RFC] Check unreachable code #360

Open
tyru opened this issue Mar 24, 2020 · 0 comments
Open

[RFC] Check unreachable code #360

tyru opened this issue Mar 24, 2020 · 0 comments
Labels

Comments

@tyru
Copy link
Collaborator

tyru commented Mar 24, 2020

It would appreciate that vint warns unreachable code at echomsg of below code.

function! s:func() abort
  return 42
  echomsg 'unreachable!'
endfunction
@tyru tyru added the feature label Mar 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant