Skip to content

JUMPIF and JUMPIFNOT can make "Condition" be null, causing Unluau to completely error out#33

Open
karl-police wants to merge 1 commit into
atrexus:mainfrom
karl-police:patch-1
Open

JUMPIF and JUMPIFNOT can make "Condition" be null, causing Unluau to completely error out#33
karl-police wants to merge 1 commit into
atrexus:mainfrom
karl-police:patch-1

Conversation

@karl-police

@karl-police karl-police commented Mar 18, 2024

Copy link
Copy Markdown

No clue if my changes are correct or not, even if they do work.

 

Input Example:
https://github.com/MaximumADHD/Roblox-Client-Tracker/blob/79d958e1c5e9acff1f1a053873852d7c3a682b16/BuiltInPlugins/AnimationClipEditor/Bin/main.luac

Currently, this Unluau is unable to generate Pseudocode from this input, because it errors out, however this pull request addresses this issue is some... strange way...
image

 

I have no clue if that what I did is correct.

So here are the differences:
https://www.diffchecker.com/JJD5VjjH/

 

This is how the differences look like with both of my "patches" applied.

https://www.diffchecker.com/oEnOdmc1/

@karl-police karl-police changed the title JUMPIF and JUMPIFNOT can make Condition be nil, causing Unluau to error out completely JUMPIF and JUMPIFNOT can make "Condition" be null, causing Unluau to completely error out Mar 18, 2024
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.

1 participant