Skip to content

Conversation

@rax-it
Copy link
Contributor

@rax-it rax-it commented Nov 11, 2025

Details

Adds support for experimentalErrorRecoveryMode to style-compiler.
When running in errorRecoveryMode we try to report as many errors in one go as possible and throw an AggregateCompilerError instead.

Does this pull request introduce a breaking change?

  • 😮‍💨 No, it does not introduce a breaking change.

Does this pull request introduce an observable change?

  • 🤞 No, it does not introduce an observable change.

GUS work item

@rax-it rax-it marked this pull request as ready for review November 12, 2025 17:00
@rax-it rax-it requested a review from a team as a code owner November 12, 2025 17:00
Comment on lines 34 to 36
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are we deduping? Couldn't different errors be thrown with the same message from different places?

Choose a reason for hiding this comment

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

Maybe the error message contains location info? 👀

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We run the lwc plugin twice, once for native shadow and once for synthetic shadow. Hence, same error was getting reported twice

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.

5 participants