Skip to content
master
Switch branches/tags
Code

Latest commit

…nsion method (#1872)

Clarify that `e<T>` can desugar to `e.call<T>` when `call` is an extension method. Adjust the language of the enclosing itemized list such that it does not require functions/methods to be generic in order to match the case; instead, it matches the case when enough is known to determine that no other case is relevant, and then we'll have a more specific context for reporting the error.

(For instance, `String<int>` would commit to being the first case, and then we could report the error that we can't pass `<int>` to that class, rather than considering the first case as a non-match because `String` isn't a generic class, and then ending up in the vague "otherwise an error occurs" at the very end.)
227e058

Git stats

Files

Permalink
Failed to load latest commit information.

Dart language evolution

Build Status

This repository is a place for the Dart language team to work on language changes and features, and to solicit and accept feedback and requests.

Issues and feature requests relevant to the language and the specification may be filed here.

Dart language team

As of June 2020, the Dart language team consists of:

Organization

We follow this process for planning and rolling out language changes.

Features currently being worked on are listed in the language funnel.

Contributing

Anyone can participate in the discussion about language changes by participating on the dart language mailing list, by replying to issues in this repository, and by uploading documents, tests or other resources.

When commenting on issues in this repository, keep in mind:

  • 👍 reactions are more useful than comments to show support.
  • Motivating examples help us understand why you want new features more than pointers to other languages which have them. We love hearing feedback about your experiences with other languages, but we also want to know why they are right for Dart in particular.

License & patents

See LICENSE and PATENTS.