mirror of
https://github.com/dart-lang/sdk
synced 2024-10-06 14:59:41 +00:00
08c893d55b
As of patchset 5: The ruleset concerning class member conflicts (apart from simple name clashes) has now been simplified considerably, and it's expressed in one location, in a new section (the locations where we previously had such rules are now `\commentary{}` with a reference to the new section). The old rules and the new simplified rules specify the same set of conflicts (in that sense, patchset 4 == patchset 5). The old description below gives details about what was changed from the start of this CL until patchset 4. ------------------------------- OLD description: Added conflict for constructor and setter with "the same name". Discussed the inconsistent approach to conflicts between named constructors and instance members with Lasse; we agreed that it is confusing if we allow the constructor `C.n` to coexist with the instance method/getter `n` and instance setter `n=`, except that they must be inherited rather than declared in the enclosing class `C`, so I adjusted the wording such that only _static_ members conflict with named constructors. One more reason why there is no conflict between `C.n` and an instance member named `n` or `n=` is that the latter can _never_ be denoted by `C.n` (but static members can be denoted by `C.n`, also in `C`). Change-Id: I012e772ae6473fddd8f9944553d69e6a6ceeb2f9 Reviewed-on: https://dart-review.googlesource.com/56800 Reviewed-by: Leaf Petersen <leafp@google.com> Reviewed-by: Lasse R.H. Nielsen <lrn@google.com> |
||
---|---|---|
.github | ||
build | ||
client | ||
docs | ||
pkg | ||
runtime | ||
samples | ||
samples-dev | ||
sdk | ||
tests | ||
third_party | ||
tools | ||
utils | ||
.clang-format | ||
.gitattributes | ||
.gitignore | ||
.gn | ||
.mailmap | ||
.packages | ||
AUTHORS | ||
BUILD.gn | ||
CHANGELOG.md | ||
codereview.settings | ||
dartdoc_options.yaml | ||
DEPS | ||
LICENSE | ||
PATENTS | ||
PRESUBMIT.py | ||
README.dart-sdk | ||
README.md | ||
WATCHLISTS |
Dart
Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.
Using Dart
Visit the dartlang.org to learn more about the language, tools, getting started, and more.
Browse pub.dartlang.org for more packages and libraries contributed by the community and the Dart team.
Building Dart
If you want to build Dart yourself, here is a guide to getting the source, preparing your machine to build the SDK, and building.
There are more documents on our wiki.
Contributing to Dart
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.