dillon1000/react
Commit
Browse files [repro] Fixture for incorrect lowering for break (label within loop)
--- unlabeled breaks must goto the nearest iteration or switch boundary (not labeled block) --- Sprout fails with the following: ``` FAIL: bug-unlabeled-break-within-label-loop >> Unexpected error during test: Found differences in evaluator results Non-forget (expected): (kind: ok) ["0 @A","0 @B","0 @C","1 @A"] Forget: (kind: ok) ["0 @A","0 @B","0 @C","1 @A","1 @C"] ```
Changed paths3 files
First-parent comparisoncompiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/bug-unlabeled-break-within-label-loop.expect.md AddedA compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/bug-unlabeled-break-within-label-loop.ts AddedM compiler/packages/snap/src/SproutTodoFilter.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…