Skip to content

Decompiler removes redundant ifs and withs#1467

Draft
OliveIsAWord wants to merge 1 commit into
UnderminersTeam:masterfrom
OliveIsAWord:master
Draft

Decompiler removes redundant ifs and withs#1467
OliveIsAWord wants to merge 1 commit into
UnderminersTeam:masterfrom
OliveIsAWord:master

Conversation

@OliveIsAWord
Copy link
Copy Markdown

Description

A big step towards fixing #1466.

Caveats

This is unfinished! Also, I forgot to correctly format the code before i pushed it!

Notes

Do tell me any changes I could make to bump this code up a letter grade. I do not have much experience at all in C#.

CST1229 referenced this pull request in XDOneDude/UndertaleModToolCE Aug 31, 2023
@colinator27
Copy link
Copy Markdown
Member

This will probably need to be updated to be part of (or using) the Underanalyzer decompiler, if this is still desired. The Underanalyzer decompiler does let you directly iterate over its tree output, which could be helpful. (Although I'm not sure if you can directly print a modified tree at the moment.)

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