Skip to content

Removal of some errors due to changes with the constant evaluator. #2149

Closed
@kallentu

Description

@kallentu

There are a few tests that need updating from changes in the const evaluator tidying up errors in https://dart-review.googlesource.com/c/sdk/+/312347

/=================================================================================================================================\
| co19/Language/Classes/Constructors/Generative_Constructors/execution_t09 broke (Pass -> MissingCompileTimeError, expected Pass) |
\=================================================================================================================================/

--- Command "dart2analyzer" (took 44ms):
DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart out/ReleaseX64/gen/dartanalyzer.dart.snapshot -Dtest_runner.configuration=analyzer-asserts-linux --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.dart_tool/package_config.json --format=json /b/s/w/ir/cache/builder/sdk/tests/co19/src/Language/Classes/Constructors/Generative_Constructors/execution_t09.dart

static error failures:
- Missing expected unspecified error at line 34, column 3, length 5.

--- Re-run this test:
python3 tools/test.py -n analyzer-asserts-linux co19/Language/Classes/Constructors/Generative_Constructors/execution_t09


/============================================================================================================\
| co19/LanguageFeatures/Enhanced-Enum/grammar_A01_t02 broke (Pass -> MissingCompileTimeError, expected Pass) |
\============================================================================================================/

--- Command "dart2analyzer" (took 51ms):
DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart out/ReleaseX64/gen/dartanalyzer.dart.snapshot -Dtest_runner.configuration=analyzer-asserts-linux --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.dart_tool/package_config.json --format=json /b/s/w/ir/cache/builder/sdk/tests/co19/src/LanguageFeatures/Enhanced-Enum/grammar_A01_t02.dart

static error failures:
- Missing expected unspecified error at line 1, column 0.

--- Re-run this test:
python3 tools/test.py -n analyzer-asserts-linux co19/LanguageFeatures/Enhanced-Enum/grammar_A01_t02


/===================================================================================================================================\
| co19_2/Language/Classes/Constructors/Generative_Constructors/execution_t09 broke (Pass -> MissingCompileTimeError, expected Pass) |
\===================================================================================================================================/

--- Command "dart2analyzer" (took 42ms):
DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart out/ReleaseX64/gen/dartanalyzer.dart.snapshot -Dtest_runner.configuration=analyzer-asserts-linux --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.dart_tool/package_config.json --format=json /b/s/w/ir/cache/builder/sdk/tests/co19_2/src/Language/Classes/Constructors/Generative_Constructors/execution_t09.dart

static error failures:
- Missing expected unspecified error at line 36, column 3, length 1.

--- Re-run this test:
python3 tools/test.py -n analyzer-asserts-linux co19_2/Language/Classes/Constructors/Generative_Constructors/execution_t09

Metadata

Metadata

Assignees

Labels

type-enhancementA request for a change that isn't a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions