mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
9336e199fd
This CL is identical to the reverted CL 2990703002 which implements syntactic support for generalized void in the analyzer, plus two bug fixes in pkg/analyzer/test/generated/parser_test.dart and pkg/analyzer_cli/test/error_test.dart. In the former, a test on parsing `void,` was changed to expect an error: _isTypeIdentifier on a lone `void` will no longer return true, which is necessary because `void` can now be used as a type annotation alone. Another test on `void x` was added, which produces the behavior previously seen for `void,`. In error_test, the error which is used throughout was changed from `void foo;` to `var int foo;` (because the former is no longer an error). Review-Url: https://codereview.chromium.org/2992623002 . |
||
---|---|---|
.. | ||
data | ||
all.dart | ||
analysis_options_test.dart | ||
build_mode_test.dart | ||
driver_test.dart | ||
embedder_test.dart | ||
error_test.dart | ||
errors_reported_once_test.dart | ||
errors_upgrade_fails_cli_test.dart | ||
mocks.dart | ||
options_test.dart | ||
package_prefix_test.dart | ||
perf_report_test.dart | ||
reporter_test.dart | ||
sdk_ext_test.dart | ||
strong_mode_test.dart | ||
super_mixin_test.dart | ||
utils.dart |