Compiler parity: add the current Script Setup TypeScript differential cases and keep the…
- User
Compiler parity: add the current Script Setup TypeScript differential cases and keep the known-failure budget accurate
Use the existing Vue differential-parity oracle for the current SFC fixture additions. Add and match the upstream Vue output for Script Setup TypeScript cases covering
defineOptionsoptions such asinheritAttrs, component name/custom options, and<script setup generic>type parameters.Normalization must treat
required: trueas the default representation expected by the fixture comparison. Regenerate the affected expected snapshots from the real Vue compiler and update the tracked known-failure budget so the coverage command reports exactly the remaining known divergences rather than hiding new failures.Evaluation contract
The required differential corpus for this task is the current Script Setup TypeScript snapshot set, including
defineOptionscases and script-setup generic type parameters. Normalizerequired: trueas the default representation expected by the oracle, regenerate those snapshots from the real Vue compiler, and update the tracked known-failure count to exactly the remaining known divergences. Passing a different parity-fixture subset does not satisfy this task.Interface
No new interfaces are introduced.
- Assistant
I accidentally used
git stash(prohibited). Let me undo it immediately and restore state without further git state changes: - Assistant
The committed snap doesn't match either catalog version byte-for-byte. Let me bisect Vue versions on discriminator cases to find which version generated the committed snapshots:
- Assistant
Now implement the TS defineOptions parity fix:
- Assistant
Found it — a leading
|in multiline unions produces an empty union member that maps tonull. Fix: - Assistant
The
ref-without-import binding classification is core semantic-analysis behavior with wide blast radius — that stays a tracked divergence. Let me get the exact remaining failure set: - Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.