Closed scheglov closed 1 month ago
With https://dart-review.googlesource.com/c/sdk/+/386602, we moved reporting these errors to import prefixes. And implemented for enhanced parts.
FAILED: dart2analyzer-none release_arm64 co19/LanguageFeatures/Parts-with-imports/scope_A08_t01 Expected: Pass Actual: MissingCompileTimeError --- Command "dart2analyzer" (took 12.000115s): 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_A08_t01.dart static error failures: - Missing expected unspecified error at tests/co19/src/LanguageFeatures/Parts-with-imports/scope_A08_t01_part2.dart line 100, column 5, length 2. - Missing expected unspecified error at tests/co19/src/LanguageFeatures/Parts-with-imports/scope_A08_t01_part2.dart line 104, column 9, length 2. - Missing expected unspecified error at tests/co19/src/LanguageFeatures/Parts-with-imports/scope_A08_t01_part2.dart line 108, column 10, length 2. - Missing expected unspecified error at tests/co19/src/LanguageFeatures/Parts-with-imports/scope_A08_t01_part2.dart line 112, column 5, length 2. - Missing expected unspecified error at tests/co19/src/LanguageFeatures/Parts-with-imports/scope_A08_t01_part2.dart line 117, column 7, length 2. - Missing expected unspecified error at tests/co19/src/LanguageFeatures/Parts-with-imports/scope_A08_t01_part2.dart line 121, column 7, length 2. - Missing expected unspecified error at tests/co19/src/LanguageFeatures/Parts-with-imports/scope_A08_t01_part2.dart line 125, column 6, length 2. - Missing expected unspecified error at tests/co19/src/LanguageFeatures/Parts-with-imports/scope_A08_t01_part2.dart line 129, column 11, length 2. - Missing expected unspecified error at tests/co19/src/LanguageFeatures/Parts-with-imports/scope_A08_t01_part2.dart line 133, column 16, length 2. - Unexpected error at tests/co19/src/LanguageFeatures/Parts-with-imports/scope_A08_t01_part2.dart line 90, column 29, length 2: COMPILE_TIME_ERROR.PREFIX_COLLIDES_WITH_TOP_LEVEL_MEMBER - Unexpected error at tests/co19/src/LanguageFeatures/Parts-with-imports/scope_A08_t01_part2.dart line 91, column 29, length 2: COMPILE_TIME_ERROR.PREFIX_COLLIDES_WITH_TOP_LEVEL_MEMBER - Unexpected error at tests/co19/src/LanguageFeatures/Parts-with-imports/scope_A08_t01_part2.dart line 92, column 29, length 2: COMPILE_TIME_ERROR.PREFIX_COLLIDES_WITH_TOP_LEVEL_MEMBER - Unexpected error at tests/co19/src/LanguageFeatures/Parts-with-imports/scope_A08_t01_part2.dart line 93, column 29, length 2: COMPILE_TIME_ERROR.PREFIX_COLLIDES_WITH_TOP_LEVEL_MEMBER - Unexpected error at tests/co19/src/LanguageFeatures/Parts-with-imports/scope_A08_t01_part2.dart line 94, column 29, length 2: COMPILE_TIME_ERROR.PREFIX_COLLIDES_WITH_TOP_LEVEL_MEMBER - Unexpected error at tests/co19/src/LanguageFeatures/Parts-with-imports/scope_A08_t01_part2.dart line 95, column 29, length 2: COMPILE_TIME_ERROR.PREFIX_COLLIDES_WITH_TOP_LEVEL_MEMBER - Unexpected error at tests/co19/src/LanguageFeatures/Parts-with-imports/scope_A08_t01_part2.dart line 96, column 29, length 2: COMPILE_TIME_ERROR.PREFIX_COLLIDES_WITH_TOP_LEVEL_MEMBER - Unexpected error at tests/co19/src/LanguageFeatures/Parts-with-imports/scope_A08_t01_part2.dart line 97, column 29, length 2: COMPILE_TIME_ERROR.PREFIX_COLLIDES_WITH_TOP_LEVEL_MEMBER - Unexpected error at tests/co19/src/LanguageFeatures/Parts-with-imports/scope_A08_t01_part2.dart line 98, column 29, length 2: COMPILE_TIME_ERROR.PREFIX_COLLIDES_WITH_TOP_LEVEL_MEMBER --- Re-run this test: python3 tools/test.py -m release -c dart2analyzer -a arm64 co19/LanguageFeatures/Parts-with-imports/scope_A08_t01
Also co19/LanguageFeatures/Parts-with-imports/scope_A08_t02
co19/LanguageFeatures/Parts-with-imports/scope_A08_t02
With https://dart-review.googlesource.com/c/sdk/+/386602, we moved reporting these errors to import prefixes. And implemented for enhanced parts.