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

Remove dead code for Incomplete. #2614

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

davidmatson
Copy link
Contributor

The block here appeared to me to be unreachable code, but please double-check my analysis.

  • PR has meaningful title
  • Summary describes changes
  • PR is ready to be merged
  • Tests are added/update (if required)
  • Documentation is updated/added (if required)

@fflaten
Copy link
Collaborator

fflaten commented Jan 22, 2025

It should be dead, but if anything I'd consider throwing as an alternative to removing so we can catch future bugs.

The block here appears to be unreachable code.
Throw on invalid/unexpected test result types.
@davidmatson davidmatson force-pushed the removeDeadCodeForIncomplete branch from b2a8a2d to 38749d9 Compare January 22, 2025 18:51
@davidmatson
Copy link
Contributor Author

It should be dead, but if anything I'd consider throwing as an alternative to removing so we can catch future bugs.

Sure, added a throw.

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.

2 participants