dart-sdk/tests
Sam Rawlins 8900608365 Report fewer duplicate errors for invalid superinitializers
Fixes https://github.com/dart-lang/sdk/issues/45958

Move check out of old checker.dart, into (less old) error_verifier.dart
and move test case out of old checker_test.dart. Add valid test case.

Rename INVALID_SUPER_INVOCATION to SUPER_INVOCATION_NOT_LAST, and
correct comment on that code (it has a parameter).

Do not duplicate report that code with MULTIPLE_SUPER_INVOCATIONS or
with SUPER_IN_REDIRECTING_CONSTRUCTOR.

Change-Id: I26e28b345fd8cef8ed2c9ec89ab12b56ea1c2f37
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/218982
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
2021-11-08 18:53:42 +00:00
..
co19 [co19] Status files updated according to Issue 523: tests which use mirrors moved to LibTest/mirrors 2021-10-14 08:30:25 +00:00
co19_2 [co19_2] Status files updated according to Issue 523: tests which use mirrors moved to LibTest/mirrors 2021-10-27 09:26:05 +00:00
corelib Add Error.throwWithStackTrace function which throws an error and stack. 2021-11-08 15:51:32 +00:00
corelib_2 Add Error.throwWithStackTrace function which throws an error and stack. 2021-11-08 15:51:32 +00:00
dartdevc [ddc] Unify pkg:js types and allow subtyping between them 2021-07-30 00:33:54 +00:00
dartdevc_2 [ddc] Unify pkg:js types and allow subtyping between them 2021-07-30 00:33:54 +00:00
ffi [vm/concurrency] Remove --(no-)enable-isolate-groups flag usage in tests 2021-11-04 18:57:21 +00:00
ffi_2 [vm/concurrency] Remove --(no-)enable-isolate-groups flag usage in tests 2021-11-04 18:57:21 +00:00
language Report fewer duplicate errors for invalid superinitializers 2021-11-08 18:53:42 +00:00
language_2 Report fewer duplicate errors for invalid superinitializers 2021-11-08 18:53:42 +00:00
lib [vm/concurrency] Remove --(no-)enable-isolate-groups flag usage in tests 2021-11-04 18:57:21 +00:00
lib_2 [vm/concurrency] Remove --(no-)enable-isolate-groups flag usage in tests 2021-11-04 18:57:21 +00:00
modular [ddc] Fix private class exposed by typedef 2021-04-05 18:54:56 +00:00
standalone [vm] Fix standalone{,_2}/io/platform_test & incorrect error handling in VM 2021-11-05 17:48:49 +00:00
standalone_2 [vm] Fix standalone{,_2}/io/platform_test & incorrect error handling in VM 2021-11-05 17:48:49 +00:00
web [dart2js] delete dummy_compiler_test. 2021-11-03 20:08:53 +00:00
web_2 [dart2js] delete dummy_compiler_test. 2021-11-03 20:08:53 +00:00
legacy_status_dart2js.csv
README.md

This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.