dart-sdk/tests/language_2/implicit_creation
Lasse R.H. Nielsen 9edecbc803 Add test checking that const contexts are not applied where they shouldn't.
Change-Id: I39782577b7555dc63311531ca17f61f8deec5b4a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98854
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Aske Simon Christensen <askesc@google.com>
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
2019-06-27 12:47:31 +00:00
..
implicit_const_context_constructor_generic_named_test.dart
implicit_const_context_constructor_generic_test.dart
implicit_const_context_constructor_named_test.dart
implicit_const_context_constructor_test.dart
implicit_const_context_list_test.dart
implicit_const_context_map_test.dart
implicit_const_context_not_test.dart
implicit_const_context_prefix_constructor_generic_named_test.dart
implicit_const_context_prefix_constructor_generic_test.dart
implicit_const_context_prefix_constructor_named_test.dart
implicit_const_context_prefix_constructor_test.dart
implicit_const_not_default_values_test.dart
implicit_new_constructor_generic_named_test.dart
implicit_new_constructor_generic_test.dart
implicit_new_constructor_named_test.dart
implicit_new_constructor_test.dart
implicit_new_or_const_composite_test.dart
implicit_new_or_const_generic_test.dart
implicit_new_or_const_test.dart
implicit_new_prefix_constructor_generic_named_test.dart
implicit_new_prefix_constructor_generic_test.dart
implicit_new_prefix_constructor_named_test.dart
implicit_new_prefix_constructor_test.dart
README.md

Feature tests for optional const and optional new

This directory was created in order to hold tests pertaining to the Dart feature that allows the new and const keywords on instance creation expressions and composite literals (maps and lists) to be omitted. For more details, please check the feature specifications on optional const and on optional new.