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

Treat arrays and dicts as constant expressions #63735

Closed
wants to merge 1 commit into from

Conversation

mbe9
Copy link
Contributor

@mbe9 mbe9 commented Jul 31, 2022

Fixes #52422 Fixes #62753

Arrays and dictionaries weren't exported since they didn't function as constant expressions.

More complex expressions (including casts, for example) are for now not parsed as constant since they require a bit more work.

@mbe9 mbe9 requested a review from a team as a code owner July 31, 2022 17:49
@Calinou Calinou added this to the 4.0 milestone Jul 31, 2022
@mbe9 mbe9 force-pushed the reduce_arr_and_dict_constexpr branch from 38110aa to 680c2ef Compare July 31, 2022 18:29
@mbe9 mbe9 force-pushed the reduce_arr_and_dict_constexpr branch from 680c2ef to 687c19f Compare August 2, 2022 20:15
@mhilbrunner mhilbrunner requested review from hpvb and vnen October 18, 2022 13:01
@akien-mga
Copy link
Member

Superseded by #69248.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: No status
3 participants