Skip to content

Language/Errors_and_Warnings/compile_error_t06 is meanto to run only against the analyzer and cfe #1235

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
a-siva opened this issue Nov 16, 2021 · 1 comment
Assignees

Comments

@a-siva
Copy link

a-siva commented Nov 16, 2021

All these compilation error tests under Language/Errors_and_Warnings appear to have been written to only run against the analyzer and cfe and verify that the correct compilation error is reported by the tool.

This appears to be done using the comment lines

//        
// [analyzer] unspecified
// [cfe] unspecified

in the test.

However for the test compile_error_t06 these comment lines are included in the file Language/Errors_and_Warnings/compile_error_lib.dart
as a result of which the test harness does not appear to correctly skip compile_error_t06 when running the VM tests.

These comment lines should probably be moved into the file Language/Errors_and_Warnings/compile_error_t06.dart for
this test to be correctly skipped when running the VM tests.

@sgrekhov sgrekhov self-assigned this Nov 17, 2021
@sgrekhov
Copy link
Contributor

The described problem is a SDK issue dart-lang/sdk#44990. Hopefully one day it will be resolved and all of the tests that are failing now because of this issue became Ok. Closing this issue

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