mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 16:37:43 +00:00
8d0b898d91
The `gcd` method has a parameter of type `int`, when trusting type annotations, we don't validate that the parameter is not a `double`. This change guards against this scenario and makes this test pass in dart2js-production-linux-d8. Change-Id: I70ab76b5b389d33c316b625ebb6188959a1ae949 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/335620 Reviewed-by: Stephen Adams <sra@google.com> Commit-Queue: Sigmund Cherem <sigmund@google.com> |
||
---|---|---|
.. | ||
co19 | ||
co19_2 | ||
corelib | ||
corelib_2 | ||
dartdevc | ||
dartdevc_2 | ||
ffi | ||
ffi_2 | ||
language | ||
language_2 | ||
lib | ||
lib_2 | ||
modular | ||
standalone | ||
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.