[compiler][be] Clean up bug + feature test fixtures

Test fixtures testing different compiler features (e.g. non-auto memoization) should live in separate directories.

Remove bug-prefixed fixtures that have since been fixed
This commit is contained in:
Mofei Zhang
2024-12-16 15:31:21 -05:00
parent d325f872de
commit 2ccca4808b
33 changed files with 21 additions and 14 deletions
@@ -90,4 +90,6 @@ export const FIXTURE_ENTRYPOINT = {
};
```
### Eval output
(kind: ok) <div>{"shouldInvokeFns":true,"callback":{"kind":"Function","result":null}}</div>
@@ -85,4 +85,7 @@ export const FIXTURE_ENTRYPOINT = {
};
```
### Eval output
(kind: ok) {}
[[ (exception in render) TypeError: Cannot read properties of null (reading 'title_text') ]]
@@ -70,4 +70,8 @@ export const FIXTURE_ENTRYPOINT = {
};
```
### Eval output
(kind: ok) [[ (exception in render) TypeError: Cannot read properties of null (reading 'b') ]]
<div>{"fn":{"kind":"Function","result":null},"shouldInvokeFns":true}</div>
<div>{"fn":{"kind":"Function","result":4},"shouldInvokeFns":true}</div>
+3 -10
View File
@@ -477,22 +477,15 @@ const skipFilter = new Set([
'invalid-jsx-lowercase-localvar',
// bugs
'fbt/bug-fbt-plural-multiple-function-calls',
'fbt/bug-fbt-plural-multiple-mixed-call-tag',
`bug-capturing-func-maybealias-captured-mutate`,
'bug-object-expression-computed-key-modified-during-after-construction-hoisted-sequence-expr',
'bug-invalid-hoisting-functionexpr',
`bug-capturing-func-maybealias-captured-mutate`,
'bug-aliased-capture-aliased-mutate',
'bug-aliased-capture-mutate',
'bug-functiondecl-hoisting',
'bug-try-catch-maybe-null-dependency',
'bug-type-inference-control-flow',
'reduce-reactive-deps/bug-infer-function-cond-access-not-hoisted',
'fbt/bug-fbt-plural-multiple-function-calls',
'fbt/bug-fbt-plural-multiple-mixed-call-tag',
'bug-invalid-phi-as-dependency',
'reduce-reactive-deps/bug-merge-uncond-optional-chain-and-cond',
'original-reactive-scopes-fork/bug-nonmutating-capture-in-unsplittable-memo-block',
'original-reactive-scopes-fork/bug-hoisted-declaration-with-scope',
'bug-codegen-inline-iife',
// 'react-compiler-runtime' not yet supported
'flag-enable-emit-hook-guards',