Skip to content

eval:add more infix op support; fix early func return - #24965

Merged
spytheman merged 4 commits into
vlang:masterfrom
kbkpbot:fix-eval-infix-func-return
Jul 24, 2025
Merged

spytheman merged 4 commits into
vlang:masterfrom
kbkpbot:fix-eval-infix-func-return

Conversation

@kbkpbot

@kbkpbot kbkpbot commented Jul 24, 2025 •

Copy link
Copy Markdown
Contributor

This PR:

  1. add support for &&, ||, >=, <=,!;
  2. comptime infix expr support;
  3. early function return.

@huly-for-github

Copy link
Copy Markdown

Connected to Huly®: V_0.6-23444

Comment thread vlib/v/eval/eval.v Outdated
@kbkpbot kbkpbot changed the title eval:fix infix for and_or; fix early func return eval:add more infix support; fix early func return Jul 24, 2025
@kbkpbot kbkpbot changed the title eval:add more infix support; fix early func return eval:add more infix op support; fix early func return Jul 24, 2025
@kbkpbot

kbkpbot commented Jul 24, 2025

Copy link
Copy Markdown
Contributor Author

TODO: There are still some bugs in the recursive function calls that need to be fixed in another PR...

@spytheman spytheman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Excellent work.
Thank you 🙇🏻.

@spytheman
spytheman merged commit af046e1 into vlang:master Jul 24, 2025
@kbkpbot
kbkpbot deleted the fix-eval-infix-func-return branch July 24, 2025 23:22
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.

3 participants