Skip to content

Conversation

@Dunqing
Copy link
Member

@Dunqing Dunqing commented Mar 27, 2025

close: #10050
close: #10051
close: #10055
close: #10056

This PR causes a lot of test262 tests to fail, all are expected. The reason is that the test262 test runner has a little incorrect, see #10057. And also produces a lot of duplicate errors, which will be removed in #10078.

Copy link
Member Author

Dunqing commented Mar 27, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

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

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@codspeed-hq
Copy link

codspeed-hq bot commented Mar 27, 2025

CodSpeed Instrumentation Performance Report

Merging #10074 will not alter performance

Comparing 03-27-feat_semantic_check_redeclaration_of_variable_declaration_and_function_declaration_in_the_block_scope (370266c) with main (2720204)

Summary

✅ 33 untouched benchmarks

@Dunqing Dunqing changed the base branch from 03-26-refactor_semantic_store_symbol_information_as_the_first_entry_in_symbol_declarations_when_it_is_redeclared to graphite-base/10074 March 27, 2025 12:24
@Dunqing Dunqing force-pushed the 03-27-feat_semantic_check_redeclaration_of_variable_declaration_and_function_declaration_in_the_block_scope branch from 9e394ed to 40f0f10 Compare March 27, 2025 12:24
@Dunqing Dunqing changed the base branch from graphite-base/10074 to 03-27-fix_semantic_define_a_variable_in_a_function_expression_whose_name_is_the_same_as_the_function_name_which_is_considered_a_redeclaration March 27, 2025 12:24
@Dunqing Dunqing force-pushed the 03-27-fix_semantic_define_a_variable_in_a_function_expression_whose_name_is_the_same_as_the_function_name_which_is_considered_a_redeclaration branch from abe9931 to fd0b8eb Compare March 27, 2025 12:31
@Dunqing Dunqing force-pushed the 03-27-feat_semantic_check_redeclaration_of_variable_declaration_and_function_declaration_in_the_block_scope branch 2 times, most recently from bee4271 to 1c741db Compare March 27, 2025 12:42
@Dunqing Dunqing force-pushed the 03-27-feat_semantic_check_redeclaration_of_variable_declaration_and_function_declaration_in_the_block_scope branch from 1c741db to e81ae1e Compare March 27, 2025 14:12
@github-actions github-actions bot added the A-cli Area - CLI label Mar 27, 2025
@Dunqing Dunqing marked this pull request as ready for review March 27, 2025 14:30
@Dunqing Dunqing requested a review from Boshen as a code owner March 27, 2025 14:30
@graphite-app graphite-app bot added the 0-merge Merge with Graphite Merge Queue label Mar 28, 2025
@graphite-app graphite-app bot changed the base branch from 03-27-fix_semantic_define_a_variable_in_a_function_expression_whose_name_is_the_same_as_the_function_name_which_is_considered_a_redeclaration to graphite-base/10074 March 28, 2025 04:14
@graphite-app graphite-app bot force-pushed the 03-27-feat_semantic_check_redeclaration_of_variable_declaration_and_function_declaration_in_the_block_scope branch from e81ae1e to 50b2970 Compare March 28, 2025 04:29
@graphite-app graphite-app bot force-pushed the graphite-base/10074 branch from fd0b8eb to 6687f5b Compare March 28, 2025 04:29
@graphite-app graphite-app bot changed the base branch from graphite-base/10074 to main March 28, 2025 04:30
@graphite-app graphite-app bot force-pushed the 03-27-feat_semantic_check_redeclaration_of_variable_declaration_and_function_declaration_in_the_block_scope branch from 50b2970 to dde0a96 Compare March 28, 2025 04:30
@Dunqing Dunqing force-pushed the 03-27-feat_semantic_check_redeclaration_of_variable_declaration_and_function_declaration_in_the_block_scope branch from dde0a96 to 51660e6 Compare March 28, 2025 05:18
@graphite-app
Copy link
Contributor

graphite-app bot commented Mar 28, 2025

Merge activity

graphite-app bot pushed a commit that referenced this pull request Mar 28, 2025
…ion declaration in the block scope (#10074)

close: #10050
close: #10051
close: #10055
close: #10056

This PR causes a lot of test262 tests to fail, all are expected. The reason is that the test262 test runner has a little incorrect, see #10057. And also produces a lot of duplicate errors, which will be removed in #10078.
@graphite-app graphite-app bot force-pushed the 03-27-feat_semantic_check_redeclaration_of_variable_declaration_and_function_declaration_in_the_block_scope branch from 51660e6 to 0b5161c Compare March 28, 2025 07:25
graphite-app bot pushed a commit that referenced this pull request Mar 28, 2025
…ith TypeScript (#10086)

The `Symbol` is based on the `TypeScript` implementation, but `TypeScript` doesn't support non-strict mode. So we tweaked the implementation to support non-strict mode before, but that held us back from adding symbol id for `declare function`, because `declare function oxc(): number; declare function oxc(): void` is valid, but we have no idea except introducing more symbol flags by to check whether it is a declare function. But introducing more symbol flags will lead to greater discrepancies between our implementation and `TypeScript`. #10074 has re-implemented the function redeclaration check in `checker` so that this PR can make a change to align with `TypeScript` implementation without leading to unexpected errors.

A lot of error messages are removed in snapshots, because they are all duplicated, which was introduced by #10074
graphite-app bot pushed a commit that referenced this pull request Mar 28, 2025
…ion declaration in the block scope (#10074)

close: #10050
close: #10051
close: #10055
close: #10056

This PR causes a lot of test262 tests to fail, all are expected. The reason is that the test262 test runner has a little incorrect, see #10057. And also produces a lot of duplicate errors, which will be removed in #10078.
@graphite-app graphite-app bot force-pushed the 03-27-feat_semantic_check_redeclaration_of_variable_declaration_and_function_declaration_in_the_block_scope branch from 0b5161c to 5f8c64c Compare March 28, 2025 07:27
graphite-app bot pushed a commit that referenced this pull request Mar 28, 2025
…ith TypeScript (#10086)

The `Symbol` is based on the `TypeScript` implementation, but `TypeScript` doesn't support non-strict mode. So we tweaked the implementation to support non-strict mode before, but that held us back from adding symbol id for `declare function`, because `declare function oxc(): number; declare function oxc(): void` is valid, but we have no idea except introducing more symbol flags by to check whether it is a declare function. But introducing more symbol flags will lead to greater discrepancies between our implementation and `TypeScript`. #10074 has re-implemented the function redeclaration check in `checker` so that this PR can make a change to align with `TypeScript` implementation without leading to unexpected errors.

A lot of error messages are removed in snapshots, because they are all duplicated, which was introduced by #10074
…ion declaration in the block scope (#10074)

close: #10050
close: #10051
close: #10055
close: #10056

This PR causes a lot of test262 tests to fail, all are expected. The reason is that the test262 test runner has a little incorrect, see #10057. And also produces a lot of duplicate errors, which will be removed in #10078.
@graphite-app graphite-app bot force-pushed the 03-27-feat_semantic_check_redeclaration_of_variable_declaration_and_function_declaration_in_the_block_scope branch from 5f8c64c to 370266c Compare March 28, 2025 07:32
graphite-app bot pushed a commit that referenced this pull request Mar 28, 2025
…ith TypeScript (#10086)

The `Symbol` is based on the `TypeScript` implementation, but `TypeScript` doesn't support non-strict mode. So we tweaked the implementation to support non-strict mode before, but that held us back from adding symbol id for `declare function`, because `declare function oxc(): number; declare function oxc(): void` is valid, but we have no idea except introducing more symbol flags by to check whether it is a declare function. But introducing more symbol flags will lead to greater discrepancies between our implementation and `TypeScript`. #10074 has re-implemented the function redeclaration check in `checker` so that this PR can make a change to align with `TypeScript` implementation without leading to unexpected errors.

A lot of error messages are removed in snapshots, because they are all duplicated, which was introduced by #10074
@graphite-app graphite-app bot merged commit 370266c into main Mar 28, 2025
28 checks passed
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Mar 28, 2025
@graphite-app graphite-app bot deleted the 03-27-feat_semantic_check_redeclaration_of_variable_declaration_and_function_declaration_in_the_block_scope branch March 28, 2025 07:42
This was referenced Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment