Skip to content

Collections: smaller follow-ups (sanitizer CI, benchmarks, extra builtins, negative tests) #66

Description

@MelbourneDeveloper

Scope

Catch-all for the smaller deferred items from docs/plans/collections.md that don't warrant their own issue. Each is independently mergeable.

Items

  • Phase 1.4 — Add -fsanitize=address,undefined job to make test-runtime. Pre-existing fiber test has a link-order bug that needs fixing first.
  • Phase 1.5 — Benchmark vs. khash (map) and std::vector (list); record in compiler/runtime/BENCHMARKS.md.
  • Phase 3.5 — Register zipToMap (returns Result) and groupBy builtins.
  • Phase 8.2 / 8.3examples/failscompilation/ cases for: duplicate map key, empty {} pattern, non-hashable key type. Duplicate-key detection depends on Collections: rewire list/map literal codegen to runtime builders #65 (literal rewire); empty-pattern detection depends on Collections: pattern matching on List and Map #62 (collection patterns).

Origin

docs/plans/collections.md — all individually deferred during the initial collections rollout.

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