dillon1000/react
Commit
Browse files Repro for invariant on value block in try/catch
The code for value block handling assumes a small set of terminal kinds, but try/catch causes the entire body to get wrapped in MaybeThrow terminals. We need to skip over these and delegate to the inner content.
Changed paths2 files
First-parent comparisoncompiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/error.todo-logical-expression-within-try-catch.expect.md AddedA compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/error.todo-logical-expression-within-try-catch.js AddedPatch
Files changed
Rendering syntax-highlighted changes…