Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bratseth/type inference cleanup #33179

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

bratseth
Copy link
Member

No description provided.

@bratseth bratseth requested a review from arnej27959 January 25, 2025 16:53
Copy link
Member

@arnej27959 arnej27959 left a comment

Choose a reason for hiding this comment

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

I'm a bit worried about the unit tests that you have removed, it looks like some of the things they test will stop working now, and it's hard to be certain that it won't be a problem in the larger setting.

@bratseth
Copy link
Member Author

I need to move the testing to a level where entire statements are tested since the type resolution is at the statement level. I did that with for_each here but maybe I missed something. What tests did you have in mind?

@arnej27959
Copy link
Member

right, so ForEach now requires type resolving up-front, but it still tries to do it runtime also? Maybe we can simplify some of this later - the FieldValueConverter class is only used by ForEach. It looks like the tests you added should cover actual usage, so I think we can go ahead with this.

@bratseth
Copy link
Member Author

Ok, thanks! Yes the simplification isn't complete with this.

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