mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 00:29:48 +00:00
c19720245c
This avoids virtual calls for `runtimeType` (unless the user overrides it) and `_runtimeType` (since the internal categorization is now done using the table instead), which saves a huge amount of space in the global dispatch table. It also fixes record runtime types, which now use the masqueraded types for its fields, rather than the (possibly user-overridden) `runtimeType`. A masquerade case was missing for `Type`, which has been added. Fixes https://github.com/dart-lang/sdk/issues/51134 Tested: ci + new test for overridden runtimeType Change-Id: I1909c665ae78eb07b9c0eb22b6e8836e27495d70 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/285684 Reviewed-by: Ömer Ağacan <omersa@google.com> Reviewed-by: Alexander Markov <alexmarkov@google.com> Commit-Queue: Aske Simon Christensen <askesc@google.com> |
||
---|---|---|
.. | ||
co19 | ||
co19_2 | ||
corelib | ||
corelib_2 | ||
dartdevc | ||
dartdevc_2 | ||
ffi | ||
ffi_2 | ||
language | ||
language_2 | ||
lib | ||
lib_2 | ||
modular | ||
standalone | ||
standalone_2 | ||
web | ||
web_2 | ||
legacy_status_dart2js.csv | ||
OWNERS | ||
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.