Skip to content

Invalid: struct-literal migration task #133

Closed as not planned
Closed as not planned

Description

@itsfuad

Invalid task

Retired at the author's direction. Type.{...} is the current named struct literal grammar; this is not a migration from an older supported syntax. Peeper has no compatibility or deprecation obligation for another spelling.

Compiler and Tree-sitter already require the dot. Current malformed-input rejection/recovery tests remain useful, but migration-only code, tests, documentation, and release dependencies are not justified.

This issue is closed as not planned and removed from active Roadmap/milestone tracking. It must not be treated as a missing feature, a publication task, or a release blocker.

#134 tracks a separate completion feature for current syntax and has no dependency on this issue.

Activity

  1. moved this from Todo to In Progress in Peeper Roadmapon Sep 7, 2026
  2. itsfuad commented on Sep 7, 2026

    @itsfuad
    MemberAuthor

    Review completed against compiler HEAD ac49adb plus tracked/untracked migration files. Compiler committed locally as 809d462 (feat(parser): migrate named struct literals to Type.{}); no push or merge performed. Tree-sitter and Zed were already clean at existing migration commits c352e52 and 2eb83fc; their changes were inspected and validation rerun. Standards: no blocking violations found. Spec: fixed VS Code literal-head highlighting for generic qualifiers (Outer::Inner.{}), with failing-then-passing regressions. VSCodeExt has no Git metadata, so its changes remain uncommitted; no git init performed. Validation passed: touched-Go gofmt check, go test ./..., go run ./scripts/bundle.go, PEEPER_BIN=/home/itsfuad/Dev/Peeper/compiler/build/bin/peeper go test -count=1 ./x_test (6.047s), npm test -- --rebuild (13 parses), grammar generation consistency, Zed Python integration tests (2 tests/14 capture cases), cargo test --offline, cargo build --offline --target wasm32-wasip2, VS Code npm run compile and npm run test:grammar (25 cases plus multiline assertions). Excluded funding proposal, local plans, unrelated AGENTS changes/report and spec deletions, binaries/build output. extension.toml remains unchanged on remote master; installed-editor/remote-fetch integration and immutable pin remain follow-up. Keep issue open/In Progress; snippets remain deferred to #134.

  3. removed this from the 0.2 Language Foundations milestone on Oct 7, 2026
  4. changed the title [-]Migrate explicit struct literals to Type.{...}[/-] [+]Invalid: struct-literal migration task[/+] on Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions