Files
sdk/tests/language_2/instantiate_to_bound/README.md
T
Erik Ernst 3698b91be8 Added test directories for Dart 2 features.
At and after the meeting that Anders called in AAR today we discussed
the list of directories that we would need. These came up:

  generalized void
  instantiate to bound
  noSuchMethod forwarding
  super-bounded types

I combined super-bounded types and instantiate to bound into one
topic, since they are so interwoven.

I also noted that we have more features coming up, even though we have
not discussed them much recently, and one of them will need a number
of tests: optional const/new. So I created new test directories for
these five topics, and added a short README.md to indicate their
purpose.

Change-Id: I17a407073d2dbcbccce0bfbd321cb01365d4b9ee
Reviewed-on: https://dart-review.googlesource.com/31200
Reviewed-by: Anders Sandholm <sandholm@google.com>
Reviewed-by: Kevin Millikin <kmillikin@google.com>
Commit-Queue: Erik Ernst <eernst@google.com>
2017-12-22 15:39:13 +00:00

750 B

Feature tests for instantiation to bounds, and super-bounded types

This directory was created in order to hold tests pertaining to the Dart feature instantiate to bound, which provides inference of default values for omitted type arguments. In order to handle F-bounded type parameters without introducing infinite types, this feature relies on another feature, super-bounded types, which is therefore also in focus for tests in this directory. For more details, please check the feature specifications on super-bounded types and on instantiate to bound.