diff --git a/tests/language/wildcard_variables/declarations/local_function_error_test.dart b/tests/language/wildcard_variables/declarations/local_function_error_test.dart index 9873ae947711..2757ef17cf6f 100644 --- a/tests/language/wildcard_variables/declarations/local_function_error_test.dart +++ b/tests/language/wildcard_variables/declarations/local_function_error_test.dart @@ -11,6 +11,6 @@ void main() { /*indent*/ _(); // ^ - // [analyzer] unspecified - // [cfe] unspecified + // [analyzer] COMPILE_TIME_ERROR.UNDEFINED_FUNCTION + // [cfe] Method not found: '_'. } diff --git a/tests/language/wildcard_variables/import/import_error_test.dart b/tests/language/wildcard_variables/import/import_error_test.dart index 0d6278548b9c..c210c7f40ac3 100644 --- a/tests/language/wildcard_variables/import/import_error_test.dart +++ b/tests/language/wildcard_variables/import/import_error_test.dart @@ -14,12 +14,12 @@ main() { _.topLevel; //^ -// [analyzer] unspecified +// [analyzer] COMPILE_TIME_ERROR.UNDEFINED_IDENTIFIER // [cfe] Undefined name '_'. _.C(value); //^ -// [analyzer] unspecified +// [analyzer] COMPILE_TIME_ERROR.UNDEFINED_IDENTIFIER // [cfe] Undefined name '_'. // Private extensions can't be used. diff --git a/tests/language/wildcard_variables/initializing_formal_parameters/this_initializer_access_error_test.dart b/tests/language/wildcard_variables/initializing_formal_parameters/this_initializer_access_error_test.dart index 60ec642581d1..4fa3ec98b5ec 100644 --- a/tests/language/wildcard_variables/initializing_formal_parameters/this_initializer_access_error_test.dart +++ b/tests/language/wildcard_variables/initializing_formal_parameters/this_initializer_access_error_test.dart @@ -11,9 +11,9 @@ class C { var other; C(this._) : other = _; -//^ -// [analyzer] unspecified -// [cfe] unspecified +// ^ +// [analyzer] COMPILE_TIME_ERROR.IMPLICIT_THIS_REFERENCE_IN_INITIALIZER +// [cfe] Can't access 'this' in a field initializer to read '_'. } class CWithTypeParameter<_> { @@ -21,7 +21,7 @@ class CWithTypeParameter<_> { var other; CWithTypeParameter(this._) : other = _; -//^ -// [analyzer] unspecified -// [cfe] unspecified +// ^ +// [analyzer] COMPILE_TIME_ERROR.IMPLICIT_THIS_REFERENCE_IN_INITIALIZER +// [cfe] Can't access 'this' in a field initializer to read '_'. } diff --git a/tests/language/wildcard_variables/initializing_formal_parameters/this_initializer_multiple_error_test.dart b/tests/language/wildcard_variables/initializing_formal_parameters/this_initializer_multiple_error_test.dart index 3c169590a5e4..c8677dbfb2e4 100644 --- a/tests/language/wildcard_variables/initializing_formal_parameters/this_initializer_multiple_error_test.dart +++ b/tests/language/wildcard_variables/initializing_formal_parameters/this_initializer_multiple_error_test.dart @@ -10,12 +10,12 @@ class C { var _; C(this._, this._); -//^ -// [analyzer] unspecified -// [cfe] unspecified +// ^ +// [analyzer] COMPILE_TIME_ERROR.DUPLICATE_FIELD_FORMAL_PARAMETER +// [cfe] '_' was already initialized by this constructor. C.named(this._, this._); -//^ -// [analyzer] unspecified -// [cfe] unspecified +// ^ +// [analyzer] COMPILE_TIME_ERROR.DUPLICATE_FIELD_FORMAL_PARAMETER +// [cfe] '_' was already initialized by this constructor. } diff --git a/tests/language/wildcard_variables/multiple/local_declaration_type_parameter_error_test.dart b/tests/language/wildcard_variables/multiple/local_declaration_type_parameter_error_test.dart index 6a34780681bb..9643100440b3 100644 --- a/tests/language/wildcard_variables/multiple/local_declaration_type_parameter_error_test.dart +++ b/tests/language/wildcard_variables/multiple/local_declaration_type_parameter_error_test.dart @@ -9,5 +9,8 @@ void genericFunction<_ extends void Function<_>(_, _), _>() {} // ^ -// [analyzer] unspecified -// [cfe] unspecified +// [analyzer] COMPILE_TIME_ERROR.UNDEFINED_CLASS +// [cfe] Type '_' not found. +// ^ +// [analyzer] COMPILE_TIME_ERROR.UNDEFINED_CLASS +// [cfe] Type '_' not found.