Skip to content

co19/LanguageFeatures/Enhanced-Enum/semantics_A10_t05 #1307

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
scheglov opened this issue Feb 19, 2022 · 0 comments
Closed

co19/LanguageFeatures/Enhanced-Enum/semantics_A10_t05 #1307

scheglov opened this issue Feb 19, 2022 · 0 comments
Assignees

Comments

@scheglov
Copy link

Similar to #1297, but for operator ==.

FAILED: dart2analyzer-none release_x64 co19/LanguageFeatures/Enhanced-Enum/semantics_A10_t05
Expected: Pass
Actual: CompileTimeError

--- Command "dart2analyzer" (took 13.000935s):
DART_CONFIGURATION=ReleaseX64 sdk/bin/dartanalyzer -Dtest_runner.configuration=custom-configuration-1 --enable-experiment=enhanced-enums --ignore-unrecognized-flags --packages=/Users/scheglov/Source/Dart/sdk.git/sdk/.packages --format=json --no-hints /Users/scheglov/Source/Dart/sdk.git/sdk/tests/co19/src/LanguageFeatures/Enhanced-Enum/semantics_A10_t05.dart

unexpected analysis errors in semantics_A10_t05.dart:
- Line 28, column 17: COMPILE_TIME_ERROR.ILLEGAL_CONCRETE_ENUM_MEMBER_DECLARATION
  A concrete instance member named '==' can't be declared in a class that implements 'Enum'.

- Line 41, column 17: COMPILE_TIME_ERROR.ILLEGAL_CONCRETE_ENUM_MEMBER_DECLARATION
  A concrete instance member named '==' can't be declared in a class that implements 'Enum'.

unexpected analysis errors in ../../Utils/expect_common.dart:
- Line 253, column 11: TODO.TODO
  TODO check that key sets are equivalent.

--- Re-run this test:
python3 tools/test.py -m release -c dart2analyzer co19/LanguageFeatures/Enhanced-Enum/semantics_A10_t05
@sgrekhov sgrekhov self-assigned this Feb 20, 2022
copybara-service bot pushed a commit to dart-lang/sdk that referenced this issue Mar 17, 2022
2022-03-16 [email protected] Fixes needed based on roll f5124538 (dart-lang/co19#1323)
2022-03-14 [email protected] Fixes dart-lang/co19#1310. Add language version 2.16 (dart-lang/co19#1314)
2022-03-10 [email protected] Correct an enhanced-enum test to alow setters named values (dart-lang/co19#1312)
2022-02-25 [email protected] dart-lang/co19#993. Added tests for Abi class
2022-02-25 [email protected] dart-lang/co19#1258. Added test for a generic enum which does have a regular-bounded instantiate-to-bounds result
2022-02-24 [email protected] Fixes dart-lang/co19#1308. Make `UriData` tests case-insensitive
2022-02-24 [email protected] dart-lang/co19#1258. Not regular-bounded enum test added
2022-02-21 [email protected] Merge remote-tracking branch 'remotes/origin/weak-reference-fix'
2022-02-21 [email protected] Revert accidental commits
2022-02-21 [email protected] dart-lang/co19#1305. Some cascaded errors previously reported by CFE removed
2022-02-21 [email protected] dart-lang/co19#1258. Added tests for overridden == operator
2022-02-21 [email protected] dart-lang/co19#1260. Added test for callback that throws an exception
2022-02-21 [email protected] Fixes dart-lang/co19#1307. Remove overridden == operator from enum
2022-02-21 [email protected] dart-lang/co19#1305. Some cascaded errors previously reported by CFE removed
2022-02-21 [email protected] dart-lang/co19#1260. Added test for callback that throws an exception
2022-02-21 [email protected] dart-lang/co19#1258. Added tests for overridden == operator
2022-02-20 [email protected] Fixes dart-lang/co19#1307. Remove overridden == operator from enum
2022-02-19 [email protected] dart-lang/co19#1260. Fixed tests that check attachment of the same object to finalizer several times
2022-02-18 [email protected] dart-lang/co19#1260: Weak reference tests updated.
2022-02-18 [email protected] dart-lang/co19#1258. More implementing enums tests added
2022-02-17 [email protected] Fixes dart-lang/sdkdart-lang/co19#48412. Different issues fixed in Finalizer tests
2022-02-17 [email protected] dart-lang/co19#1260. Finalizer test improved
2022-02-17 [email protected] dart-lang/co19#1260. Minor code enhancement
2022-02-16 [email protected] dart-lang/co19#1260. Typo fixed
2022-02-16 [email protected] dart-lang/co19#1260. Fix attach to finalizer tests
2022-02-16 [email protected] dart-lang/co19#1260. Finalizer tests fixed and refactored
2022-02-16 [email protected] dart-lang/co19#1260. Another WeakReference tests added
2022-02-15 [email protected] dart-lang/co19#1260: Finalizer tests updated.
2022-02-15 [email protected] Fixes dart-lang/sdkdart-lang/co19#48391. Use function with 'no-inline' to create a WeakReference and to lost link to its target
2022-02-15 [email protected] dart-lang/co19#1260: Finalizer tests updated.
2022-02-14 [email protected] dart-lang/co19#130. Roll failure fixed

Cq-Include-Trybots: dart/try:analyzer-nnbd-linux-release-try,dart2js-nnbd-linux-x64-chrome-try,ddc-nnbd-linux-release-chrome-try,front-end-nnbd-linux-release-x64-try,vm-kernel-nnbd-linux-debug-x64-try,vm-kernel-nnbd-linux-release-simarm-try,vm-kernel-nnbd-linux-release-simarm64-try,vm-kernel-nnbd-linux-release-x64-try,vm-kernel-nnbd-win-release-x64-try,vm-kernel-precomp-nnbd-linux-debug-x64-try,vm-kernel-precomp-nnbd-linux-release-simarm64-try,vm-kernel-precomp-nnbd-linux-release-x64-try,vm-kernel-precomp-nnbd-mac-release-simarm64-try,vm-kernel-precomp-nnbd-win-release-x64-try
Change-Id: Icc2bea05df29e00b671b2843af7c3c55fa45da35
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237581
Reviewed-by: William Hesse <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants