Skip to content

Conversation

@uellenberg
Copy link

error.hasErrors() only returns true on error-severity errors. However, non-error-severity errors (in this case, todos / hint severity) caused invokeCompiler to throw an error. This caused transformOutput to be returned as undefined, breaking the playground and hiding the errors.

Fixes #34657

error.hasErrors() only returns true on error-severity errors. However,
non-error-severity errors (in this case, todos / hint severity)
caused invokeCompiler to throw an error. This caused
transformOutput to be returned as undefined, breaking the playground
and hiding the errors.

Fixes facebook#34657
@meta-cla meta-cla bot added the CLA Signed label Oct 3, 2025
@uellenberg
Copy link
Author

Closing as duplicate of #34623

@uellenberg uellenberg closed this Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Compiler Bug]: Playground crashes with a simple hook with getters

1 participant