dart-lang / dart-lang/language

Deprecate `new` keyword WRT `new SomeClass`

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

Description

Unlike `const`, there are no places (that I can think of) where this would still be needed to instantiate a type.

Contributor guide

Open the contributing guide

Research direction

Start by reading issue #2401 and the Dart language design context; the payload names no files, tests, or entry points. Determine the intended scope and compatibility impact of deprecating `new` before identifying the relevant specification work. Done would require a decided language-design outcome, but the issue does not define one.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.