Skip to content

co19/LanguageFeatures/Parts-with-imports/grammar_A04_t01 #2907

@scheglov

Description

@scheglov

We don't report an error on the part directive because in principle the target file exists, and even says that it is a part.

FAILED: dart2analyzer-none release_arm64 co19/LanguageFeatures/Parts-with-imports/grammar_A04_t01
Expected: Pass
Actual: MissingCompileTimeError

--- Command "dart2analyzer" (took 33ms):
DART_CONFIGURATION=ReleaseARM64 sdk/bin/dart --packages=.dart_tool/package_config.json pkg/analyzer_cli/bin/analyzer.dart --use-analysis-driver-memory-byte-store --dart-sdk=/Users/scheglov/Source/Dart/sdk.git/sdk/sdk -Dtest_runner.configuration=custom-configuration-1 --enable-experiment=enhanced-parts --ignore-unrecognized-flags --packages=/Users/scheglov/Source/Dart/sdk.git/sdk/.dart_tool/package_config.json --format=json /Users/scheglov/Source/Dart/sdk.git/sdk/tests/co19/src/LanguageFeatures/Parts-with-imports/grammar_A04_t01.dart

static error failures:
- Missing expected unspecified error at tests/co19/src/LanguageFeatures/Parts-with-imports/grammar_A04_t01_part1.dart line 31, column 5, length 4.

--- Re-run this test:
python3 tools/test.py -m release -c dart2analyzer -a arm64 co19/LanguageFeatures/Parts-with-imports/grammar_A04_t01

Metadata

Metadata

Assignees

Labels

bad-testReport tests in need of updates. When closed, the tests should be considered good

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions