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

test(transformer/async-to-generator): failing test for nested supers #7314

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

overlookmotel
Copy link
Collaborator

@overlookmotel overlookmotel commented Nov 16, 2024

Failing test for async-to-generator transform.

When exiting a function which has super bindings, need to restore previous state of super_methods. It probably needs to be a stack. But not sure if renamed_arguments_symbol_ids needs to be a stack too? I don't really understand this transform, so am not attempting to fix myself.

Babel REPL

Copy link

graphite-app bot commented Nov 16, 2024

Your org has enabled the Graphite merge queue for merging into main

Add the label “0-merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

@github-actions github-actions bot added the A-transformer Area - Transformer / Transpiler label Nov 16, 2024
@overlookmotel overlookmotel force-pushed the 11-16-perf_transformer_arrow-function_super_method_binding_names_lazily branch from 0cb33fa to 63a68fd Compare November 16, 2024 18:22
@overlookmotel overlookmotel force-pushed the 11-16-tests_transformer_async-to-generator_failing_test_for_nested_supers branch from c5e1e86 to d90bc9f Compare November 16, 2024 18:22
@overlookmotel overlookmotel changed the title tests(transformer/async-to-generator): failing test for nested supers test(transformer/async-to-generator): failing test for nested supers Nov 16, 2024
@github-actions github-actions bot added the C-test Category - Testing. Code is missing test cases, or a PR is adding them label Nov 16, 2024
@overlookmotel overlookmotel force-pushed the 11-16-perf_transformer_arrow-function_super_method_binding_names_lazily branch from 63a68fd to 94b20ba Compare November 16, 2024 23:51
@overlookmotel overlookmotel force-pushed the 11-16-tests_transformer_async-to-generator_failing_test_for_nested_supers branch from d90bc9f to 6fa1b2f Compare November 16, 2024 23:51
@overlookmotel overlookmotel changed the base branch from 11-16-perf_transformer_arrow-function_super_method_binding_names_lazily to 11-16-refactor_transformer_arrow-function_comments_on_possible_improvement November 16, 2024 23:51
Copy link

codspeed-hq bot commented Nov 17, 2024

CodSpeed Performance Report

Merging #7314 will not alter performance

Comparing 11-16-tests_transformer_async-to-generator_failing_test_for_nested_supers (63b95fd) with 11-17-perf_transformer_arrow-functions_move_arguments_transform_checks_to_aid_inlining (5e6cbe1)

Summary

✅ 30 untouched benchmarks

@overlookmotel overlookmotel force-pushed the 11-16-tests_transformer_async-to-generator_failing_test_for_nested_supers branch from 6fa1b2f to 5ced29a Compare November 17, 2024 00:35
@overlookmotel overlookmotel changed the base branch from 11-16-refactor_transformer_arrow-function_comments_on_possible_improvement to 11-17-perf_transformer_arrow-functions_store_state_of_whether_arguments_needs_transform November 17, 2024 00:35
@overlookmotel overlookmotel force-pushed the 11-17-perf_transformer_arrow-functions_store_state_of_whether_arguments_needs_transform branch from b2a68ee to 5f4e91e Compare November 17, 2024 00:53
@overlookmotel overlookmotel force-pushed the 11-16-tests_transformer_async-to-generator_failing_test_for_nested_supers branch 3 times, most recently from 970feb3 to 63b95fd Compare November 17, 2024 01:26
@overlookmotel overlookmotel changed the base branch from 11-17-perf_transformer_arrow-functions_store_state_of_whether_arguments_needs_transform to 11-17-perf_transformer_arrow-functions_move_arguments_transform_checks_to_aid_inlining November 17, 2024 01:26
@overlookmotel overlookmotel force-pushed the 11-17-perf_transformer_arrow-functions_move_arguments_transform_checks_to_aid_inlining branch from 5e6cbe1 to bf461b3 Compare November 17, 2024 01:36
@overlookmotel overlookmotel force-pushed the 11-16-tests_transformer_async-to-generator_failing_test_for_nested_supers branch from 63b95fd to c1ea3a3 Compare November 17, 2024 01:36
@overlookmotel overlookmotel force-pushed the 11-17-perf_transformer_arrow-functions_move_arguments_transform_checks_to_aid_inlining branch from bf461b3 to 3ef4e1d Compare November 17, 2024 02:38
@overlookmotel overlookmotel force-pushed the 11-16-tests_transformer_async-to-generator_failing_test_for_nested_supers branch from c1ea3a3 to 18064ee Compare November 17, 2024 02:38
@Dunqing
Copy link
Member

Dunqing commented Nov 17, 2024

renamed_arguments_symbol_ids is used to rename arguments. As for this case, I don't think we need to transform it into a stack.

@Dunqing Dunqing changed the base branch from 11-17-perf_transformer_arrow-functions_move_arguments_transform_checks_to_aid_inlining to graphite-base/7314 November 17, 2024 05:13
@overlookmotel overlookmotel force-pushed the 11-16-tests_transformer_async-to-generator_failing_test_for_nested_supers branch from 18064ee to ebfdc98 Compare November 17, 2024 10:02
@overlookmotel overlookmotel force-pushed the graphite-base/7314 branch 2 times, most recently from d4e09b8 to 22c8d05 Compare November 17, 2024 10:11
@overlookmotel overlookmotel force-pushed the 11-16-tests_transformer_async-to-generator_failing_test_for_nested_supers branch from ebfdc98 to 8dec0cb Compare November 17, 2024 10:11
@overlookmotel overlookmotel changed the base branch from graphite-base/7314 to 11-17-perf_transformer_arrow-functions_move_arguments_transform_checks_to_aid_inlining November 17, 2024 10:21
@overlookmotel overlookmotel force-pushed the 11-16-tests_transformer_async-to-generator_failing_test_for_nested_supers branch from 8dec0cb to 14b5cee Compare November 17, 2024 10:21
@overlookmotel overlookmotel changed the base branch from 11-17-perf_transformer_arrow-functions_move_arguments_transform_checks_to_aid_inlining to graphite-base/7314 November 17, 2024 10:49
@overlookmotel overlookmotel force-pushed the 11-16-tests_transformer_async-to-generator_failing_test_for_nested_supers branch from 14b5cee to 8d6e4db Compare November 17, 2024 11:00
@overlookmotel overlookmotel changed the base branch from graphite-base/7314 to main November 17, 2024 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-transformer Area - Transformer / Transpiler C-test Category - Testing. Code is missing test cases, or a PR is adding them
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants