Files
oxc-project__oxc/crates/oxc_react_compiler/fixtures/error.invalid-known-incompatible-aliasing-function.js
Boshen a469a928d5 fix(react-compiler): cover incompatible aliasing signatures (#25744)
`known_incompatible` is already checked before both aliasing and legacy
signature handling, making the legacy-path TODO stale. Add
aliasing-signature coverage to guard the shared behavior.

Validated with `just ready`.

AI-assisted.

<sub>Stack created with <a
href="https://github.com/github/gh-stack">GitHub Stacks CLI</a> • <a
href="https://gh.io/stacks-feedback">Give Feedback 💬</a></sub>
2026-08-17 17:22:27 +08:00

7 lines
176 B
JavaScript

import {knownIncompatibleAliasing} from 'ReactCompilerKnownIncompatibleTest';
function Component() {
const data = knownIncompatibleAliasing();
return <div>{data}</div>;
}