-
Notifications
You must be signed in to change notification settings - Fork 83
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
Add basic unreachable code detection #123
Conversation
This needs work, I'm making progress but I just realised a mistake I made in truthy evaluation and what I can do to fix it |
About The Pull Request As detected by SpaceManiac/SpacemanDMM#123
About The Pull Request As detected by SpaceManiac/SpacemanDMM#123
3f71e61
to
1ea6d36
Compare
* Removes unreachable code (#48143) About The Pull Request As detected by SpaceManiac/SpacemanDMM#123 * Removes unreachable code
self.returns = true; | ||
} | ||
if other.fuzzy { | ||
self.returns = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
loops basically
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can't (yet) determine if a loop ran, so it's "fuzzy" if it can actually return and terminate the proc leaving the code below the loop unreachable.
eb98a17
to
08bac62
Compare
I'm pretty happy with the state of this |
08bac62
to
cb4a76a
Compare
cb5085b
to
28c263c
Compare
…nto brancheval # Conflicts: # src/dreamchecker/lib.rs
About The Pull Request As detected by SpaceManiac/SpacemanDMM#123
About The Pull Request As detected by SpaceManiac/SpacemanDMM#123
…2 in the process and updates dreamchecker(turdis) and casually fixes about 90 bugs in the codebase (#8324) * Cherry picks the unicode part 2 PR from TG * Things * drop 512 support * TAN --> tan * Manually does the things that was in renamed files * CLAMP --> clamp * ismovableatom -> ismovable * bugfixes, tg is bad * Ports sanitize_name * Bumps checks * Fixes new linter errors (#48126) About The Pull Request This fixes the errors raised by the new feature I'm adding to the linter: SpaceManiac/SpacemanDMM#119 * Update SpacemanDMM suite to 1.2 (#48785) * Update SpacemanDMM suite to 1.2 * Fix new lint errors * Removes unreachable code (#48143) About The Pull Request As detected by SpaceManiac/SpacemanDMM#123 * casually fixes 50 bugs * stoopid evil dreamchecker * stoopid evil dreamchecker * stoopid evil dreamchecker * almost the same thing * Makes all UIs UTF-8 * Fixes bugs * Fixes runtimes, some related to 513, some not * Fixes agent ids Co-authored-by: MrPerson <spamtaffic@gmail.com> Co-authored-by: alexkar598 <> Co-authored-by: spookydonut <github@spooksoftware.com>
Has some simple evaluation