dart-sdk/docs
Lasse R.H. Nielsen c565d4e477 Make the specification not mention LinkedHashSet.
It has implementation consequences to refer to classes that are not
declared in dart:core, and it increases the library/spec interaction surface.

This change removes all references to `LinkedHashSet` from the spec.
It changess the rule for when a `{}` is a set to be

    context type is a subtype of `FutureOr^\inf(Iterable<Object>)`
    and not a subtupe of `FutureOr^\inf(Map<Object,Object>)`.

That should *work* for

* `Iterable<X>`
* `Set<X>`
* `LinkedHashSet<X>`
* `HashSet<X>`
* `FutureOr<Set<X>>`

(with likely exect-type issues as usual).

Change-Id: I3074da27b36093075c8c83e9672bf2fdec135c1c
Reviewed-on: https://dart-review.googlesource.com/c/87972
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Erik Ernst <eernst@google.com>
2019-01-03 10:19:24 +00:00
..
language Make the specification not mention LinkedHashSet. 2019-01-03 10:19:24 +00:00
newsletter Newsletter 2017-11-24. 2017-11-24 16:27:00 +00:00
process Merge remote-tracking branch 'github/master' 2018-11-02 10:15:26 +00:00