dart-lang / dart-lang/language

When the same operator is used consecutively, support to append the operatior at the end

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

Description

now, dart support
```
var lst = [
a,
b,
];
```

but not supprt
```
var lst =
a &&
b &&;
```

or

```
if ( a &&
b &&) {
.....
}
```

I think this feature is useful.

Contributor guide

Open the contributing guide

Research direction

Review the consecutive-operator examples in the issue, including list literals and multiline && expressions. Determine the intended grammar change and document the affected language behavior; done means the proposal has a clear resolution for each example.

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.