Skip to content

Conversation

@NotHyper-474
Copy link

@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
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