dart-sdk/docs/language
Erik Ernst a12805b90f Gathered all spec snippets about operator == into one location
This was needed because we had a handful of long sentences, nearly
identical, specifying that operator == must not be overridden, except
if it's in a specific built-in class.

These locations have been adjusted several times because it's tricky,
and now we have this in just one location (so we won't forget to
include bool again, somewhere).

Note that this shows a couple of facts (this was already a consequence
of the wording in the language specification, but now it's explicit):
We can `switch` on constant lists, sets, maps, and function objects,
and similarly for element expressions in constant lists and sets, and
for keys in constant maps.

Bug: https://github.com/dart-lang/language/issues/188.
Change-Id: Ie54bce573ee577654b598926b711d6dc8eab6ff1
Reviewed-on: https://dart-review.googlesource.com/c/90462
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2019-01-23 13:03:36 +00:00
..
informal Revised all spec occurrences of "dynamic error"/"dynamic type error" 2019-01-21 12:56:31 +00:00
.gitignore Cleaned up some terminology, whitespace, and added index. 2018-11-02 12:11:41 +00:00
Dart.g Introduced support for metadata on enum values 2018-05-09 08:27:08 +00:00
dart.sty Revised all spec occurrences of "dynamic error"/"dynamic type error" 2019-01-21 12:56:31 +00:00
dartLangSpec.tex Gathered all spec snippets about operator == into one location 2019-01-23 13:03:36 +00:00
Makefile Added specification of new style function types, generalized typedefs 2019-01-11 13:54:07 +00:00