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

compile unsupported phpt tests #1098

Merged
merged 5 commits into from
Sep 17, 2024
Merged

Conversation

astrophysik
Copy link
Contributor

@astrophysik astrophysik commented Sep 6, 2024

next part of #1093

General

This pr add a lot of different fixes to make available to compile phpt tests from whitelist

@astrophysik astrophysik force-pushed the vsadokhov/compile-unsupported-phpt branch 3 times, most recently from 3ac1dfd to 2688a4e Compare September 9, 2024 08:41
@astrophysik astrophysik marked this pull request as ready for review September 9, 2024 08:41
@astrophysik astrophysik self-assigned this Sep 9, 2024
@astrophysik astrophysik added the k2 k2 related label Sep 9, 2024
@astrophysik astrophysik force-pushed the vsadokhov/compile-unsupported-phpt branch from 2688a4e to add1704 Compare September 12, 2024 16:01
Copy link
Contributor

@apolyakov apolyakov left a comment

Choose a reason for hiding this comment

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

The PR seems good to me overall. Please, address comments, apply formatter, look at include you use.

compiler/code-gen/declarations.cpp Outdated Show resolved Hide resolved
runtime-light/coroutine/task.h Outdated Show resolved Hide resolved
runtime-light/stdlib/curl/curl-context.h Outdated Show resolved Hide resolved
runtime-light/stdlib/curl/curl.h Outdated Show resolved Hide resolved
runtime-light/stdlib/curl/curl.h Show resolved Hide resolved
runtime-light/stdlib/file/file-stream-context.h Outdated Show resolved Hide resolved
runtime-light/stdlib/file/file-stream.h Outdated Show resolved Hide resolved
runtime-light/stdlib/output/http-functions.h Show resolved Hide resolved
@@ -266,7 +266,8 @@ class ParseAndApplyPhpDocForFunction {
}

case PhpDocType::kphp_extern_func_info: {
kphp_error(f_->is_extern(), "@kphp-extern-func-info used for regular function");
// This is temporary solution for generate-stub
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Please note here. I did it, because child classes with undeclared constructor get parent constructor

runtime-light/stdlib/regex/regex-context.h Outdated Show resolved Hide resolved
runtime-light/stdlib/string/concat.h Outdated Show resolved Hide resolved
runtime-light/stdlib/fork/fork-functions.h Show resolved Hide resolved
@astrophysik astrophysik force-pushed the vsadokhov/compile-unsupported-phpt branch from b3a323e to 412f0fa Compare September 17, 2024 14:14
@astrophysik astrophysik added this to the next milestone Sep 17, 2024
@astrophysik astrophysik merged commit 755b06b into master Sep 17, 2024
4 of 5 checks passed
@astrophysik astrophysik deleted the vsadokhov/compile-unsupported-phpt branch September 17, 2024 16:00
@Danil42Russia Danil42Russia added enhancement New feature or request runtime Feature related to runtime labels Sep 17, 2024
@astrophysik astrophysik added the compiler Feature related to compiler label Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler Feature related to compiler enhancement New feature or request k2 k2 related runtime Feature related to runtime
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants