3bc7d9562f
The "@compile-error" comment is an old not-great way of defining static error tests. See: https://github.com/dart-lang/sdk/issues/45634 Change-Id: I3a41bb83767052abda1fdfc77e21bd1a83188482 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/296441 Auto-Submit: Bob Nystrom <rnystrom@google.com> Reviewed-by: Jake Macdonald <jakemac@google.com> Commit-Queue: Bob Nystrom <rnystrom@google.com>
Feature tests for void
This directory was created in order to hold tests pertaining to the
Dart feature temporarily known as generalized void. This feature
allows the type void to occur in many locations where it was
previously a compile-time error, and it is intended to allow
developers to express the intent that the value of certain expressions
is of no interest, and help them to avoid using such values. For more
details, please check the
feature specification.