Skip to content

[REFACTOR] Fold PolymodExprEx into Expr#344

Merged
EliteMasterEric merged 1 commit intoFunkinCrew:experimentalfrom
NotHyper-474:refactor/folded-errorEx
Feb 15, 2026
Merged

[REFACTOR] Fold PolymodExprEx into Expr#344
EliteMasterEric merged 1 commit intoFunkinCrew:experimentalfrom
NotHyper-474:refactor/folded-errorEx

Conversation

@NotHyper-474
Copy link
Copy Markdown

@NotHyper-474 NotHyper-474 commented Feb 11, 2026

Removes PolymodExprEx and PolymodPrinterEx, then merges the former's code into Expr while also changing the code to account for the changes. This unifies the error handling for ErrorEx and Error, resulting in way cleaner and less repetitive code.

From my little bit of testing, the only functional change this has is that now some error messages don't display hscriptClass(path/to/file.hxc):676: Error Message anymore, which I suppose is fine since PolymodScriptClass.reportError, albeit not including the file of origin, still includes the class name, function name, and line number.

@NotHyper-474 NotHyper-474 force-pushed the refactor/folded-errorEx branch from 662c363 to 90d8e82 Compare February 11, 2026 20:31
@NotHyper-474 NotHyper-474 changed the title [REFACTOR] Fold PolymodExprEx into Expr and PolymodPrinterEx into Printer [REFACTOR] Fold PolymodExprEx into Expr Feb 13, 2026
@NotHyper-474 NotHyper-474 force-pushed the refactor/folded-errorEx branch from 90d8e82 to 96a9125 Compare February 13, 2026 23:04
Copy link
Copy Markdown
Member

@EliteMasterEric EliteMasterEric left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great refactor, big improvement to the codebase, Funkin' builds and doesn't break scripts.

@EliteMasterEric EliteMasterEric merged commit a13a029 into FunkinCrew:experimental Feb 15, 2026
@NotHyper-474 NotHyper-474 deleted the refactor/folded-errorEx branch February 15, 2026 04:40
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