Skip to content

feat(oxc_transformer): use better diagnostic message for ReplaceGlobalDefinesPlugin#7439

Merged
Boshen merged 1 commit intooxc-project:mainfrom
shulaoda:feat/replace-global-defines-better-diagnostic-message
Nov 23, 2024
Merged

feat(oxc_transformer): use better diagnostic message for ReplaceGlobalDefinesPlugin#7439
Boshen merged 1 commit intooxc-project:mainfrom
shulaoda:feat/replace-global-defines-better-diagnostic-message

Conversation

@shulaoda
Copy link
Contributor

When I was handling plugin-related diagnostics in rolldown, I encountered this issue.

If there is a define key like a.6.b, the error message states that `a.6.b` is not an identifier. However, it should actually be that `6` is not an identifier.

@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 23, 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 A-transformer Area - Transformer / Transpiler C-enhancement Category - New feature or request labels Nov 23, 2024
@codspeed-hq
Copy link

codspeed-hq bot commented Nov 23, 2024

CodSpeed Performance Report

Merging #7439 will not alter performance

Comparing shulaoda:feat/replace-global-defines-better-diagnostic-message (0b295b6) with main (63f4d6c)

Summary

✅ 30 untouched benchmarks

@Boshen Boshen merged commit d8c0931 into oxc-project:main Nov 23, 2024
@shulaoda shulaoda deleted the feat/replace-global-defines-better-diagnostic-message branch November 23, 2024 15:19
github-merge-queue bot pushed a commit to rolldown/rolldown that referenced this pull request Nov 24, 2024
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-enhancement Category - New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants