Skip to content

Conversation

@dangotbanned
Copy link
Member

@dangotbanned dangotbanned commented Oct 16, 2025

What type of PR is this? (check all applicable)

  • 💾 Refactor
  • ✨ Feature

Related issues

Checklist

  • Code follows style guide (ruff)
  • Tests added
  • Documented the changes

Description

Fixing some gaps in error handling, typing and generally dressing up some functional stuff that got a bit out-of-hand for my liking 😅

Comment on lines -43 to -45
__expr_ir_dispatch__: ClassVar[
staticmethod[[Incomplete, FunctionExpr[Self], Incomplete, str], Incomplete]
]
Copy link
Member Author

Choose a reason for hiding this comment

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

Truly wild that I wrote ^^^ 😂

The new version looks a bit more understandable from the outside - but it now can correctly scope all the things which were Incomplete.

__expr_ir_dispatch__: ClassVar[Dispatcher[FunctionExpr[Self]]]

@dangotbanned dangotbanned marked this pull request as ready for review October 18, 2025 14:12
@dangotbanned dangotbanned changed the title refactor(expr-ir): Improving function dispatch refactor(expr-ir): Improve function dispatch Oct 18, 2025
@dangotbanned dangotbanned merged commit 34a1fd0 into oh-nodes Oct 18, 2025
29 of 32 checks passed
@dangotbanned dangotbanned deleted the expr-ir/dispatch-ier branch October 18, 2025 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants