dart-lang / dart-lang/language

hope for do expression

Open
#132 11 comments 9 reactions 0 assignees View on GitHub
request
Dominant language
TeX
Stars
2.9k
Forks
239
Avg merge
2d 18h
Merged PRs (30d)
14

Description

I think `do expression` is very useful in flutter's html-like code.

And `do expression` shouldn't be just anonymous function calling even though their code length are very near, because using anonymous function calling, the generator status can not pass down.

please have a look at https://github.com/tc39/proposal-do-expressions/issues/37

Contributor guide

Open the contributing guide

Research direction

Start by reading this issue and the linked TC39 do-expressions proposal discussion, especially issue 37. Determine whether Dart should support do expressions and what generator behavior and Flutter-like syntax requirements would need to be specified. Done means a reviewed language-design decision with the required specification changes identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.