Skip to content

fix(compiler): Clarify JavaScript refusal descriptions - #3356

Open
MathurAditya724 wants to merge 4 commits into
vercel-labs:mainfrom
MathurAditya724:codex/fix-js-refusal-descriptions-followup
Open

MathurAditya724 wants to merge 4 commits into
vercel-labs:mainfrom
MathurAditya724:codex/fix-js-refusal-descriptions-followup

Conversation

@MathurAditya724

@MathurAditya724 MathurAditya724 commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Correct the JavaScript refusal descriptions for mutable class and function declaration bindings, named function expression bindings, and ordinary missing-property errors. These diagnostics now explain the relevant JavaScript semantics instead of claiming that Node always throws or assuming a Set protocol.

Four regression tests exercise the real preflight output. Diagnostic codes and admission decisions remain unchanged.

Fixes #3354.

Explain mutable declaration bindings and distinguish them from immutable inner bindings.
Describe missing target properties without assuming a Set operation.

Refs vercel-labs#3354

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
@vercel

vercel Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

@MathurAditya724 is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

MathurAditya724 and others added 3 commits November 8, 2026 00:16
Refresh the PR merge revision after the upstream build repair in vercel-labs#3360.

Refs vercel-labs#3354

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Refresh the PR merge revision after the upstream stream helper repair in vercel-labs#3364.

Refs vercel-labs#3354

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Refresh the PR merge revision after upstream matrix pin repairs in vercel-labs#3219 and vercel-labs#3388.

Refs vercel-labs#3354

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
@MathurAditya724
MathurAditya724 marked this pull request as ready for review November 8, 2026 04:25

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Correct JavaScript refusal descriptions for mutable bindings and missing properties

1 participant