dart-sdk/tests/language_2/const
Kallen Tu 1f88336597 [analyzer] Move all constructor error reporting to _InstanceCreationEvaluator.evaluate
Pull the error handling outwards to _InstanceCreationEvaluator.evaluate. All errors in const constructors should point to the location of the actual exception and provide more context.

Change-Id: Iafcf46182fab698f5546c63780de6dd9a605a51b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/318802
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Kallen Tu <kallentu@google.com>
2023-08-08 21:55:34 +00:00
..
cast1_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
cast2_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
cast3_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
cast4_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
conditional_runtime_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
conditional_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
const2_test.dart Spelling tests language 2022-12-19 16:30:06 +00:00
const3_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
const4_lib.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
const4_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
const_locals_constant_locals_test.dart [analyzer] Refactor visitMethodInvocation in the const evaluator. 2023-06-30 18:32:27 +00:00
const_locals_runtime_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
const_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
constant_dag_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
constants_test.dart [analyzer] Refactor visitMethodInvocation in the const evaluator. 2023-06-30 18:32:27 +00:00
constructor2_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
constructor3_runtime_1_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
constructor3_runtime_2_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
constructor3_runtime_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
constructor3_test.dart [analyzer] Move all constructor error reporting to _InstanceCreationEvaluator.evaluate 2023-08-08 21:55:34 +00:00
constructor_mixin2_runtime_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
constructor_mixin2_test.dart Do not report const ctor with a mixed in abstract final field 2021-07-21 17:56:08 +00:00
constructor_mixin3_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
constructor_mixin_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
constructor_nonconst_field_runtime_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
constructor_nonconst_field_test.dart [analyzer] Refactor visitMethodInvocation in the const evaluator. 2023-06-30 18:32:27 +00:00
constructor_nonconst_param_runtime_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
constructor_nonconst_param_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
constructor_runtime_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
constructor_super2_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
constructor_super_runtime_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
constructor_super_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
constructor_syntax_runtime_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
constructor_syntax_test.dart [cfe] Report all compile-time errors found during constant evaluation 2021-08-24 11:42:53 +00:00
constructor_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
counter_runtime_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
counter_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
ct_const_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
double_in_int_op_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
dynamic_type_literal_runtime_1_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
dynamic_type_literal_runtime_2_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
dynamic_type_literal_runtime_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
dynamic_type_literal_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
error_multiply_initialized_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
escape_frog_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
evaluation_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
factory_redirection_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
factory_with_body_runtime_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
factory_with_body_test.dart [cfe] Report all compile-time errors found during constant evaluation 2021-08-24 11:42:53 +00:00
for_in_variable_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
getter_runtime_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
getter_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
global_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
inference_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
init2_runtime_1_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
init2_runtime_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
init2_test.dart [analyzer] Issue 37238: Multiple errors for type mismatch assignments. 2023-05-19 16:27:58 +00:00
init_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
instance_field_runtime_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
instance_field_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
list_test.dart [3.0 alpha] Remove deprecated dart:core List() constructor. 2022-12-15 11:36:22 +00:00
local_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
locals_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
map2_runtime_test.dart [test] Fix getValueNonOptimized in tests 2021-07-12 10:23:14 +00:00
map2_test.dart Issue 51046. Implement primitive equality. 2023-02-18 06:22:04 +00:00
map3_runtime_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
map3_test.dart Issue 51046. Implement primitive equality. 2023-02-18 06:22:04 +00:00
map4_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
map5_test.dart [test] const types and null in const maps and sets 2021-07-26 12:42:20 +00:00
map_hashcode_override2_test.dart [test] const types and null in const maps and sets 2021-07-26 12:42:20 +00:00
map_hashcode_override_test.dart Make hashcode override test throw instead of looping indefinitely. 2022-05-11 11:48:26 +00:00
map_null_lookup_test.dart [test] const types and null in const maps and sets 2021-07-26 12:42:20 +00:00
map_test.dart [test] const types and null in const maps and sets 2021-07-26 12:42:20 +00:00
named_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
native_factory_test.dart Migrate "c" directory language tests off @compile-error. 2023-04-20 19:10:58 +00:00
nested_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
objects_are_immutable_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
optional_args_runtime_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
optional_args_test.dart [cfe] Report all compile-time errors found during constant evaluation 2021-08-24 11:42:53 +00:00
qq_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
redirect_skips_supertype_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
redirecting_factory_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
set5_test.dart [test] const types and null in const maps and sets 2021-07-26 12:42:20 +00:00
set_hashcode_override2_test.dart [test] const types and null in const maps and sets 2021-07-26 12:42:20 +00:00
set_null_lookup_test.dart [test] const types and null in const maps and sets 2021-07-26 12:42:20 +00:00
string_test.dart Fixed various typos in a lot of files 2022-07-25 12:21:59 +00:00
switch2_runtime_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
switch2_test.dart [cfe] Check primitive equals in legacy libraries 2022-02-10 22:13:14 +00:00
switch_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
syntax_runtime_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
syntax_test.dart [cfe] Report all compile-time errors found during constant evaluation 2021-08-24 11:42:53 +00:00
tree_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
types_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
var_helper.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
var_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00