dart-sdk/tests
Johnni Winther 5222bfd90c [cfe] Refactor bounds checking
This CL moves the bounds checking into the TypeBuilder instead of
performing it from the outside on the computed DartType node.
This solves several problems:

  1) Errors are now reported on the type in the code instead of the
     declaration which holds the type.
  2) Checking of type aliases (both function and nonfunction type
     aliases) is now handled correctly in all cases. This achieved by
     computed the aliased type (containing TypedefType nodes)
     internally and performing the checking on this type, and only
     convert the type into the unaliased version (without TypedefType
     nodes) after checks have been performed. Previously this handled
     through the FunctionType.typedefType property for function type
     aliases and through and incomplete work-around for nonfunction
     type aliases.
  3) With 2) FunctionType.typedefType is no longer needed and is
     removed.

TEST=general/bounds_*

Change-Id: I7653bca5ccb0ebf4b3553828a298d1ad918ef235
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/243722
Reviewed-by: Mayank Patke <fishythefish@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
2022-05-17 14:36:19 +00:00
..
co19 Skip co19/LanguageFeatures/Enhanced-Enum/grammar_A07_t01 on the web 2022-04-05 19:54:13 +00:00
co19_2 [infra] Stop manually creating co19 cipd packages. 2022-03-28 14:01:37 +00:00
corelib Fix bug in Duration.toString. 2022-04-25 14:37:42 +00:00
corelib_2 Fix bug in Duration.toString. 2022-04-25 14:37:42 +00:00
dartdevc [ddc] Avoid emitting dead branches in conditionals 2022-05-03 20:17:44 +00:00
dartdevc_2 [vm] Expose whether extension stream has listeners, guard postEvent 2022-04-26 07:53:43 +00:00
ffi [vm/ffi] Add Char C type 2022-03-28 09:46:56 +00:00
ffi_2 [vm/ffi] Add Char C type 2022-03-28 09:46:56 +00:00
language [cfe] Refactor bounds checking 2022-05-17 14:36:19 +00:00
language_2 [cfe] Refactor bounds checking 2022-05-17 14:36:19 +00:00
lib [js_util] Add dartify and some helpers. 2022-05-16 21:31:47 +00:00
lib_2 [js_util] Add dartify and some helpers. 2022-05-16 21:31:47 +00:00
modular [dart2js] Fix bug in impact data serialization. 2022-05-10 03:34:13 +00:00
standalone [VM/io] - Reland : Set correct file type for files backing unix domain sockets 2022-05-15 00:40:07 +00:00
standalone_2 [VM/io] - Reland : Set correct file type for files backing unix domain sockets 2022-05-15 00:40:07 +00:00
web [dart2js] Add regression test for https://dart-review.googlesource.com/c/sdk/+/225320 2022-05-10 22:56:23 +00:00
web_2 [dart2js] Fix deferred load URI when baseUrl has a single path segment 2022-04-22 21:33:10 +00:00
legacy_status_dart2js.csv
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
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.