Tensegritics / Tensegritics/ClojureDart

Handle named parameters for emitting Function type

Open
#68 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement in triage
Dominant language
Clojure
Stars
1.6k
Forks
119
PR merge metrics
No merged PRs in 30d

Description

We don't handle named parameters when creating pure dart functions.
There might be some very rare cases where a named parameters must be emitted when magic-casting a function
e.g: String Function(int, {String id})

Contributor guide

No contributing guide indexed for this repository

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

Locate the code that emits pure Dart Function types and the magic-casting path, then trace how parameter lists are represented. Confirm the missing case with String Function(int, {String id}); done means named parameters are emitted correctly for that function type.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure, dart
Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.