Repository navigation
T106: object rest in destructuring - #278
Merged
Merged
Conversation
|
Deployment failed for project lucent with the following error: Learn More: https://vercel.com/faustino-kialungilas-projects?upgradeToPro=build-rate-limit |
|
Deployment failed for project website with the following error: Learn More: https://vercel.com/faustino-kialungilas-projects?upgradeToPro=build-rate-limit |
Fausto95
force-pushed
the
t106-object-rest
branch
from
October 14, 2026 12:41
03d0dcc to
9f4a404
Compare
|
Deployment failed for project lucent with the following error: Learn More: https://vercel.com/faustino-kialungilas-projects?upgradeToPro=build-rate-limit |
Fausto95
force-pushed
the
t106-object-rest
branch
from
October 14, 2026 13:16
9f4a404 to
18216b5
Compare
Merged
Fausto95
force-pushed
the
t106-object-rest
branch
2 times, most recently
from
October 14, 2026 13:45
e26640d to
df42217
Compare
|
Deployment failed for project website with the following error: Learn More: https://vercel.com/faustino-kialungilas-projects?upgradeToPro=build-rate-limit |
Fausto95
force-pushed
the
ci-app-check-timeout
branch
from
October 14, 2026 14:02
425d125 to
6c89d00
Compare
Fausto95
force-pushed
the
t106-object-rest
branch
2 times, most recently
from
October 14, 2026 16:33
bf7b65d to
eee59e3
Compare
Fausto95
force-pushed
the
ci-app-check-timeout
branch
from
October 14, 2026 16:33
6c89d00 to
4ac017c
Compare
Fausto95
force-pushed
the
t106-object-rest
branch
from
October 14, 2026 17:37
eee59e3 to
08bf7c7
Compare
`const { a, ...rest } = v` binds a new object of the rest's type with the
fields that type names, as spread copies them, or a new record without the
keys the pattern names; in declarations, parameters, for…of and
assignments. A class instance's rest stays LUCENT1004, now named for
computed keys.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KaXTpjxQL34i1B21Jt4UMB
Fausto95
force-pushed
the
t106-object-rest
branch
from
October 14, 2026 22:11
08bf7c7 to
f2ea0c1
Compare
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Object rest in destructuring now compiles (T106's first item; LUCENT1004 until now).
const { a, ...rest } = vbinds a new object of the rest's type, with the fields that type names copied fromv, as spread copies them; an unset optional field stays unset. A record's rest is a new record without the keys the pattern names.for…ofand assignments (({ a, ...rest } = v)).LUCENT1004. The diagnostic's entry and the website's refused sample are now about computed keys.object-rest: objects, unset optionals, renames and defaults, parameters, records, assignments, a new object rather than a view of the old one,for…of, a local on the stack, and{ ...all }.Stacked on #277.
🤖 Generated with Claude Code
https://claude.ai/code/session_01KaXTpjxQL34i1B21Jt4UMB
Generated by Claude Code