rescript-lang / rescript-lang/rescript

Consider allowing inline records in `external` definitions

Open
#7,386 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
OCaml
Stars
7.5k
Forks
485
Avg merge
1d 2h
Merged PRs (30d)
55

Description

Inline/nested records was recently added to v12. We could investigate what it'd take to allow them in external definitions as well, where they would also be quite useful.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the v12 implementation of inline/nested records with how external definitions are handled. Identify the relevant compiler entry points and tests, then define completion as allowing inline records in external definitions with coverage for the useful cases described by the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.