Alexander Thomas
9394b30b77
Fix incorrect file reference in license headers
...
Bug: b/286184681
Change-Id: I903528c4adfbc576644aec7541903df6b9633e26
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/325523
Reviewed-by: Jonas Termansen <sortie@google.com >
Reviewed-by: Samuel Rawlins <srawlins@google.com >
Commit-Queue: Alexander Thomas <athom@google.com >
2023-09-18 06:44:08 +00:00
Nate Biggs
ba662eb4b4
[dart2js] Replace dart2js_dynamic_test with lint and appropriate lint ignores.
...
See patch 2 for failures coming from this new analysis option.
Change-Id: I6bb10c2eb12431f6c503cc817a9c9bb45ba597a4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/269800
Commit-Queue: Nate Biggs <natebiggs@google.com >
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2022-11-15 21:11:59 +00:00
Michael Thomsen
17972ddce5
Move swarm to a test folder to avoid confusion that this might
...
be a customer facing app sample.
Bug: None
Change-Id: I94944d4d5677b08eaf6c27ecf26e8503d8eae38f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/255255
Reviewed-by: Sigmund Cherem <sigmund@google.com >
Reviewed-by: Jonas Termansen <sortie@google.com >
Commit-Queue: Michael Thomsen <mit@google.com >
2022-09-07 14:08:18 +00:00
Nate Bosch
f9c68a5679
Replace a bunch of references to .packages
...
Most of these arguments are flowing through to a `--packages` argument
which allows passing the `package_config.json` file. In the long term we
should remove the `.packages` file entirely.
TEST=None, the change should have no visible impact.
Change-Id: I60a8b175d5e217a85588bbcb91cc5095514066b4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/211503
Auto-Submit: Nate Bosch <nbosch@google.com >
Commit-Queue: Nate Bosch <nbosch@google.com >
Reviewed-by: Kevin Moore <kevmoo@google.com >
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com >
2021-10-12 20:16:15 +00:00
Johnni Winther
fe4224d725
[cfe] Handle nested type variables in RTI need computation
...
+ add test for dartbug.com/47054
Change-Id: Ibe3f17e5df26f6c41db49525153606cd24139404
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/211908
Commit-Queue: Johnni Winther <johnniwinther@google.com >
Reviewed-by: Mayank Patke <fishythefish@google.com >
2021-09-01 15:18:56 +00:00
Stephen Adams
d5e790b2b1
[dart2js] Add golden function codegen tests
...
As with other 'id_equivalence' tests, the information can be generated
via the '-g' flag.
Bug: 43778
Change-Id: I316d539f7575e349dc55ecb564de7b65f0f21575
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/167480
Commit-Queue: Stephen Adams <sra@google.com >
Reviewed-by: Joshua Litt <joshualitt@google.com >
2020-10-14 22:32:38 +00:00
Joshua Litt
20faaa5d94
[dart2js] Move dart2js unit tests to pkg/compiler/test.
...
Change-Id: Ib18f554c1076f27a3f7c0df5a36410da41a1f467
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/148784
Reviewed-by: Paul Berry <paulberry@google.com >
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2020-05-28 18:51:11 +00:00
Sigmund Cherem
ff0e8f8035
Make extension methods more readable on dart2js stacktraces
...
Change-Id: I776b78c5a8742aad5ccc9aa4ffbc86827aacba96
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/118205
Commit-Queue: Sigmund Cherem <sigmund@google.com >
Reviewed-by: Johnni Winther <johnniwinther@google.com >
2019-09-20 19:01:36 +00:00
Nate Bosch
28d697a6c1
Enforce override annotations in dart2js
...
Update the excludes in the test directory analysis options to match the
files that were not updated to add override annotations.
Update the excludes in `testing.json` to match the analysis options.
With a consistent analysis options test config the diagnostics in
editors will match what is enforced by the test.
Also clean up the no longer required `enableSuperMixins` config.
Change-Id: If0e23642c25e0b5c1aced6a5a8c8c05a6da538f8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/96836
Reviewed-by: Sigmund Cherem <sigmund@google.com >
Commit-Queue: Nate Bosch <nbosch@google.com >
2019-03-14 18:47:05 +00:00
Johnni Winther
3cd0a1f5e4
Remove old_frontend and mirrors tests
...
Change-Id: I1e10d65c25298eb084619ed156daa3d2069f92e1
Reviewed-on: https://dart-review.googlesource.com/53741
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2018-05-07 10:07:40 +00:00
Johnni Winther
969c0de335
Avoid crash on EOF error in file with Windows line encoding
...
+ start using spans from CFE (now that they're available)
Change-Id: I4fe82070d32948a64fb0fab527bd4cc857eebeb4
Reviewed-on: https://dart-review.googlesource.com/49841
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2018-04-09 12:16:20 +00:00
Konstantin Shcheglov
2401b16846
Report HintCode.ABSTRACT_SUPER_MEMBER_REFERENCE even if the superclass has noSuchMethod().
...
See the bug.
This does not make it a compile time error though.
R=brianwilkerson@google.com
Bug: https://github.com/dart-lang/sdk/issues/31593
Change-Id: Iefef8eecec43b6b8afaac74198bffbeae1c8b104
Reviewed-on: https://dart-review.googlesource.com/28120
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2018-01-04 20:32:05 +00:00
Johnni Winther
e8e3fb5224
Reenable source map tests
...
- and fixes regressions + add more coverage for the regressed parts
Change-Id: Ied0aa54389164650b4fcd8f0363ddabb60c00a77
Reviewed-on: https://dart-review.googlesource.com/20204
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2017-11-14 08:18:44 +00:00
Bob Nystrom
1d8c3af663
Delete old tests that aren't used and/or useful any more.
...
R=efortuna@google.com
Review-Url: https://codereview.chromium.org/2976313002 .
2017-07-18 14:12:57 -07:00
Peter von der Ahé
69d6e8e55a
All strong mode cleaning of dart2js.
...
Fixes https://github.com/dart-lang/sdk/issues/29886
Supersedes CLs 2939193003, 2950433002, and 2947583002.
R=johnniwinther@google.com
Review-Url: https://codereview.chromium.org/2944843002 .
2017-06-19 14:06:38 +02:00
Peter von der Ahé
2e6e44a69b
Strong mode cleaning of many dart2js tests.
...
R=efortuna@google.com
Review-Url: https://codereview.chromium.org/2939063002 .
2017-06-16 09:31:29 +02:00
Peter von der Ahé
ba2cde4607
Switch the defaults: strong mode is now default, but we stil check tests in Dart mode.
...
R=johnniwinther@google.com
Review-Url: https://codereview.chromium.org/2938943003 .
2017-06-15 14:16:39 +02:00
Peter von der Ahé
ddf5fc23f1
Improve analysis coverage.
...
R=johnniwinther@google.com
Review-Url: https://codereview.chromium.org/2904483002 .
2017-05-24 15:52:42 +02:00
Sigmund Cherem
7ece6d94a2
fix bots: do not analyze front_end when analyzing dart2js, they need to be
...
analyzed with incompatible options (strong vs not-strong). pkg/front_end is
anyways analyzed in the front_end tests, so I believe this is safe to exclude
here.
BUG=
Review-Url: https://codereview.chromium.org/2853183002 .
2017-05-01 19:39:50 -07:00
Peter von der Ahé
5bdc1199ca
Fix dart2js warnings and add test to ensure it stays clean.
...
Filed https://github.com/dart-lang/sdk/issues/29224 to track all the problems that require ignore.
R=johnniwinther@google.com
Review-Url: https://codereview.chromium.org/2791993002 .
2017-04-03 15:08:40 +02:00