dart-lang / co19

A Dart language and library conformance test suite
BSD 3-Clause "New" or "Revised" License
37 stars 28 forks source link

co19/LanguageFeatures/Parts-with-imports/scope_A03_t02 #2858

Closed scheglov closed 6 days ago

scheglov commented 1 week ago

I think it fails only because of SYNTACTIC_ERROR.EXPECTED_TOKEN, other errors are reported, but maybe the test runner ignores them.

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

--- Command "dart2analyzer" (took 49ms):
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/scope_A03_t02.dart

static error failures:
- Unexpected error at tests/co19/src/LanguageFeatures/Parts-with-imports/scope_A03_t02_part2.dart line 22, column 8, length 17: COMPILE_TIME_ERROR.DEFERRED_IMPORT_OF_EXTENSION

- Unexpected error at tests/co19/src/LanguageFeatures/Parts-with-imports/scope_A03_t02_part2.dart line 22, column 26, length 8: COMPILE_TIME_ERROR.SHARED_DEFERRED_PREFIX

- Unexpected error at tests/co19/src/LanguageFeatures/Parts-with-imports/scope_A03_t02_part2.dart line 26, column 26, length 8: COMPILE_TIME_ERROR.SHARED_DEFERRED_PREFIX

- Unexpected error at tests/co19/src/LanguageFeatures/Parts-with-imports/scope_A03_t02_part1.dart line 31, column 6, length 26: SYNTACTIC_ERROR.EXPECTED_TOKEN

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