Skip to content

Conversation

DanielEScherzer
Copy link
Member

While reviewing the existing tests in the constexpr directory, I found that some of the names were not updated to reflect the contents when the contents were changed in #9301.

Follow-up to #15638

While reviewing the existing tests in the `constexpr` directory, I found that
some of the names were not updated to reflect the contents when the contents
were changed in php#9301.

Follow-up to php#15638
@DanielEScherzer
Copy link
Member Author

CC @TimWolla who caught the duplicate directories

Copy link
Member

@TimWolla TimWolla left a comment

Choose a reason for hiding this comment

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

I leave the actual review to @Girgias who I believe has reviewed the previous ones.

@@ -1,5 +1,5 @@
--TEST--
Invalid operation in new arg in const expr
Valid operation in new arg in const expr
Copy link
Member

Choose a reason for hiding this comment

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

This one is interesting, because AFAICT it no longer is a constexpr context since https://wiki.php.net/rfc/arbitrary_static_variable_initializers

Copy link
Member

Choose a reason for hiding this comment

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

Indeed, guess I forgot to update the test description.

Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

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

Seems sensible

@Girgias Girgias merged commit 7b8a61a into php:master Feb 21, 2025
9 checks passed
@DanielEScherzer DanielEScherzer deleted the tests-constexpr branch February 21, 2025 19:26
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.

4 participants