Commit Graph

3219 Commits

Author SHA1 Message Date
Régis Crelier ed1d8bd475 [VM parser] Complete support for generalized void (fixes #30516).
'void' is now allowed as type annotation for locals, fields, and formal
parameters, in addition to being previously allowed as type argument.
Update status files.

Change-Id: I6459f56824dc0a695615d8dc87c9a8a1f9be29ef
Reviewed-on: https://dart-review.googlesource.com/37651
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Régis Crelier <regis@google.com>
2018-01-31 00:56:41 +00:00
Brian Wilkerson f8596607bb Update status files to fix bots
Change-Id: I1659bc7e8ef8452daf44ae6ca30064f01f338272
Reviewed-on: https://dart-review.googlesource.com/37580
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2018-01-30 17:33:09 +00:00
William Hesse 0f67c89474 Update status for Chrome 64 and Firefox 59 on all operating systems
This reverts commit c5306595f4, which updated
the status for linux only, and updates it for all operating systems instead.
It also fixes a minor error in the status update tools.

Change-Id: I556dff775f221b872c5cea27b7ed5a0088d378a5
Reviewed-on: https://dart-review.googlesource.com/37261
Reviewed-by: Alexander Thomas <athom@google.com>
2018-01-29 18:11:06 +00:00
Johnni Winther 20e363f4b9 Ensure signature functions for --disable-rti-optimization
- and cleanup/refactor RuntimeTypesChecks(Builder).

Closes #28894

Change-Id: I8d4cd808411532cce6b28c2f233cc4086de6b100
Reviewed-on: https://dart-review.googlesource.com/35982
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2018-01-29 08:06:51 +00:00
William Hesse c5306595f4 Update status for Chrome 64 and Firefox 59 on linux
TBR: athom@google.com
Change-Id: I96dc0dddaeb590d3852dccc23be73254fab51a5f
Reviewed-on: https://dart-review.googlesource.com/36861
Reviewed-by: William Hesse <whesse@google.com>
2018-01-26 01:26:02 +00:00
Siva Annamalai dabcf56590 Adjust some kernel precompiled and kernel dart2js test expections for void types.
Change-Id: Ib13c402fe3a562796d44d455a7fd9ad281d5e08b
Reviewed-on: https://dart-review.googlesource.com/36160
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Siva Annamalai <asiva@google.com>
2018-01-21 05:12:27 +00:00
Siva Annamalai 5f5bba2a74 Normalize status files.
Allow void as a type.
Change-Id: Ia94c50bcc2e4023008da1dad60cdbfc3465d936b

Change-Id: Ibe7d394cf92e6bb45e06770329da857bcb2c84b0
Reviewed-on: https://dart-review.googlesource.com/36127
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Siva Annamalai <asiva@google.com>
2018-01-20 23:02:08 +00:00
Peter von der Ahé 2c7122a6dc Update legacy dartk status
Change-Id: I2ccaab2b60ff94e6d10f715e5c67e2691aca6211
Reviewed-on: https://dart-review.googlesource.com/35928
Reviewed-by: Peter von der Ahé <ahe@google.com>
Reviewed-by: Zach Anderson <zra@google.com>
Commit-Queue: Peter von der Ahé <ahe@google.com>
2018-01-19 18:47:35 +00:00
Jens Johansen b9bff9d4e4 [kernel] Update status after fix of #31817
Change-Id: I21f1d9772435f0fd00627f26d72c9202a5d0a9f9
Reviewed-on: https://dart-review.googlesource.com/35860
Reviewed-by: Jens Johansen <jensj@google.com>
2018-01-19 07:42:06 +00:00
Sigmund Cherem 2526908e27 Update status for tests not covered by the CQ
TBR=ahe@google.com,johnniwinther@google.com

Change-Id: I150c28edbd95ed1c040c3f9fd48bdd348f796db0
Reviewed-on: https://dart-review.googlesource.com/35807
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2018-01-18 22:03:27 +00:00
Peter von der Ahé f274d81fa2 Update co19 status file
Change-Id: Ic5a467d6b48e052048875589fcb734795ba2c63e
Reviewed-on: https://dart-review.googlesource.com/35820
Reviewed-by: Peter von der Ahé <ahe@google.com>
2018-01-18 19:16:19 +00:00
Erik Corry c20383ae63 More unicode-related status file updates
R=whesse@google.com

Change-Id: I547f0be60ed511368420e127583654557e927f93
Reviewed-on: https://dart-review.googlesource.com/35621
Reviewed-by: William Hesse <whesse@google.com>
2018-01-18 14:48:44 +00:00
Erik Corry c8ae9bf77b [VM] Stop treating 0x180e as whitespace
This aligns us with JS engines and Unicode 6.3

R=lrn@google.com

Bug: 29060
Change-Id: I0b6356f0e652f7c9841bcf6485aa591a3d835061
Reviewed-on: https://dart-review.googlesource.com/35560
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Commit-Queue: Erik Corry <erikcorry@google.com>
2018-01-18 10:37:15 +00:00
danrubel 6f6689889c Update fasta parser to report ParserErrorCode.FUNCTION_TYPED_PARAMETER_VAR
In addition to adding missing errors, this CL inlines modifier parsing
as part of a multi step effort to parse modifiers once and provide
better error recovery for class member and top level declarations.

Change-Id: Ibea91a4a3e2073ed6079f0f44ff4bbbb4a98a614
Reviewed-on: https://dart-review.googlesource.com/35300
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Dan Rubel <danrubel@google.com>
2018-01-17 18:28:48 +00:00
Erik Corry 5ed2f25f40 There is no longer a safarimobilesim test runtime.
And so there is no need to maintain status files for this platform.

R=whesse@google.com

Change-Id: Ie70e4b7308cfd9b1b179b2d1eeeb8f36dd1a62dc
Reviewed-on: https://dart-review.googlesource.com/34824
Commit-Queue: Erik Corry <erikcorry@google.com>
Reviewed-by: William Hesse <whesse@google.com>
2018-01-17 13:13:17 +00:00
Sigmund Cherem 0c04eb53c7 Disable int64 when running dart2js
The goal is to renable it as soon as we migrate our constant-evaluator and
constant folding to use Bigint.

Change-Id: I3bba1bbe07517e9cb496896b3417f58173878d62
Reviewed-on: https://dart-review.googlesource.com/34302
Commit-Queue: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Stephen Adams <sra@google.com>
Reviewed-by: Zach Anderson <zra@google.com>
2018-01-16 19:52:22 +00:00
Alexander Thomas 27ebef64d4 [infra] Add VM Kernel Windows x64 builders
Bug: https://github.com/dart-lang/sdk/issues/31707
Change-Id: Ie56f4c6f78c9b7c27fc4f587857e412db3e8f358
Reviewed-on: https://dart-review.googlesource.com/33960
Commit-Queue: Alexander Thomas <athom@google.com>
Reviewed-by: William Hesse <whesse@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2018-01-16 15:39:03 +00:00
Régis Crelier 0f08aababa [VM parser] Fix look-ahead parsing of void as type argument.
This is part of implementing generalized void, see #30516.
Add regression test.
Update status files.

Change-Id: I0b4730734238b4dc463ddd7835e30ea8a2bd4300
Bug:
Reviewed-on: https://dart-review.googlesource.com/34224
Commit-Queue: Régis Crelier <regis@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
2018-01-11 23:42:54 +00:00
Dmitry Stefantsov fd821941ad Update status file: some tests now pass due to recent changes
Change-Id: Iee6dd4337b2773da1ab7f8d7adf28fdcb593deb5
Reviewed-on: https://dart-review.googlesource.com/33762
Reviewed-by: Jens Johansen <jensj@google.com>
2018-01-10 09:24:20 +00:00
Alexander Markov c051a0b905 [VM, Tests] Turn Dart 2.0 fixed-size integers ON by default, v2
Dart 2.0 fixed-size integers are enabled in Dart VM in all modes.
Status of legacy tests is updated.

This CL includes ff9fc413a7 with fixes.

Change-Id: I632d8177e9d07cd82ecea75ab6c325681b3a25c9
Reviewed-on: https://dart-review.googlesource.com/32443
Commit-Queue: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2018-01-05 01:44:56 +00:00
Alexander Markov 90551f6aa5 Revert "[VM, Tests] Turn Dart 2.0 fixed-size integers ON by default"
This reverts commit ff9fc413a7.

Reason: buildbot failures.
Change-Id: I68ffde271c8ba3b212e3bf015e2e550c8c891441
Reviewed-on: https://dart-review.googlesource.com/32442
Reviewed-by: Alexander Markov <alexmarkov@google.com>
2018-01-04 19:04:44 +00:00
Alexander Markov ff9fc413a7 [VM, Tests] Turn Dart 2.0 fixed-size integers ON by default
Dart 2.0 fixed-size integers are enabled in Dart VM in all modes.
Status of legacy tests is updated.

Change-Id: I967a413c0b81eb92cf6be78ad3ee324798288bd2
Reviewed-on: https://dart-review.googlesource.com/31406
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2018-01-04 18:02:57 +00:00
Erik Ernst 065d4a2f6c Adjusted status for flakiness on new platform
As reported in SDK issue #30068, co19/**/mouseOverEvent_A01_t01 is
flaky. This CL adds the flaky status for that test also on chrome.

Change-Id: I02dcdce69161a88661bed392bb5e3650893f3315
Reviewed-on: https://dart-review.googlesource.com/29802
Reviewed-by: Erik Ernst <eernst@google.com>
2017-12-15 10:50:44 +00:00
Terry Lucas 0f07255380 Another passing test.
TBR=vsm@google.com

Change-Id: Ic01d3e213d30d7b5da61c2ccd9d0faf2de804dff
Reviewed-on: https://dart-review.googlesource.com/29746
Commit-Queue: Terry Lucas <terry@google.com>
Reviewed-by: Terry Lucas <terry@google.com>
2017-12-15 05:01:54 +00:00
Terry Lucas 642b768e87 Fixed default parameter messagePorts for MessageEvent factory.
R=vsm@google.com

Change-Id: Ic94ccbe4c29302e44c58791658ce75dff86d9ac2
Reviewed-on: https://dart-review.googlesource.com/29544
Commit-Queue: Terry Lucas <terry@google.com>
Reviewed-by: Vijay Menon <vsm@google.com>
2017-12-14 18:21:25 +00:00
Martin Kustermann d84a83344e Update status files for simarm/simarm64/simdbc64
This brings the following configurations green:

  tools/test.py -mrelease -cdartk -asimarm
  tools/test.py -mrelease -cdartk -asimarm64
  tools/test.py -mrelease -cdartk -asimdbc64
  tools/test.py -mdebug -cdartk -asimdbc64

Issue https://dart-review.googlesource.com/c/sdk/+/29581

Change-Id: Ie79084bc123ace0ed59505da617ddcb30b9076c2
Reviewed-on: https://dart-review.googlesource.com/29585
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
2017-12-14 15:34:15 +00:00
Alexander Markov ce8377d74b [Gardening] Update status for passing tests in legacy -c dartkp mode
This is the follow-up for
https://github.com/dart-lang/sdk/commit/73b265e348be2f3aab23cc783096f17a8054397e

Change-Id: I15778ffa4338b37de6d77edf4fe619ec9383075d
Reviewed-on: https://dart-review.googlesource.com/28842
Reviewed-by: Zach Anderson <zra@google.com>
2017-12-12 21:04:30 +00:00
Martin Kustermann 962c18b627 Update status file after changing -cdartkp to use batch mode for kernel compilation
Issue https://github.com/dart-lang/sdk/issues/31585

Change-Id: I0e4c57f57efa39375728f6a718fb675c6f97cd94
Reviewed-on: https://dart-review.googlesource.com/28820
Reviewed-by: Martin Kustermann <kustermann@google.com>
2017-12-12 18:17:52 +00:00
Vyacheslav Egorov efca9c69ab [vm/testing] Make --strong -c dartk configuration a Dart 2.0 configuration.
Switch it to use pkg/vm/tool/dart2 which is the source of truth for what
Dart 2 VM configuration means. Don't pass any additional flags from
tools/test.py itself.

Align pkg/vm/tool/dart2 with what tools/test.py was passing to VM on _2 suites.

Make default invocation `tools/test.py -c dartk --strong -m release,debug`
green by updating status files and skipping suites that are not Dart 2.0
compliant. I have filed issues #31588 for isolate suite and #31587 for
service suite.

Reland of https://dart-review.googlesource.com/27820

Change-Id: I49400fae716f75425e70bf1e561b3375ba39157e
Reviewed-on: https://dart-review.googlesource.com/28565
Commit-Queue: Vyacheslav Egorov <vegorov@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2017-12-12 12:19:10 +00:00
Vyacheslav Egorov e84fa65696 Revert "[vm/testing] Make --strong -c dartk configuration a Dart 2.0 configuration."
This reverts commit 50865e9387.

CQ on Mac is broken.

TBR=kustermann@google.com

Bug:
Change-Id: I41a7cab59c076dba4f25f5904725cca5bb4619c9
Reviewed-on: https://dart-review.googlesource.com/28420
Commit-Queue: Vyacheslav Egorov <vegorov@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2017-12-11 21:07:43 +00:00
Vyacheslav Egorov 50865e9387 [vm/testing] Make --strong -c dartk configuration a Dart 2.0 configuration.
Switch it to use pkg/vm/tool/dart2 which is the source of truth for what
Dart 2 VM configuration means. Don't pass any additional flags from
tools/test.py itself.

Align pkg/vm/tool/dart2 with what tools/test.py was passing to VM on _2 suites.

Make default invocation `tools/test.py -c dartk --strong -m release,debug`
green by updating status files and skipping suites that are not Dart 2.0
compliant. I have filed issues #31588 for isolate suite and #31587 for
service suite.

Change-Id: I882b28f6a011eabf69c349ff0792b275434e39ff
Reviewed-on: https://dart-review.googlesource.com/27820
Commit-Queue: Vyacheslav Egorov <vegorov@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2017-12-11 12:49:22 +00:00
Emily Fortuna 038d210f54 Revert "Gardening: Update the status for some dart2js Chrome tests that have started passing"
This reverts commit 8849903552.

Bug:
Change-Id: Ib26bc9a4947653490d1c1149181fc5b87fe3d3bf
Reviewed-on: https://dart-review.googlesource.com/27469
Reviewed-by: Emily Fortuna <efortuna@google.com>
2017-12-08 01:18:57 +00:00
Brian Wilkerson 8849903552 Gardening: Update the status for some dart2js Chrome tests that have started passing
Change-Id: I155f8460596757b7d4da8d368e9fdda52b983120
Reviewed-on: https://dart-review.googlesource.com/27341
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Emily Fortuna <efortuna@google.com>
2017-12-07 21:11:11 +00:00
William Hesse ce464b9e4d Update status for Chrome 63 stable
Bug:
Change-Id: I9b515554ac1af3b41a4cac9b24ba0cdffac0d0a8
Reviewed-on: https://dart-review.googlesource.com/26260
Reviewed-by: Alexander Thomas <athom@google.com>
2017-12-07 13:02:34 +00:00
Morten Krogh-Jespersen 3db4b1070b Normalize all status files and enable presubmit hook.
This CL normalizes all status files by the status file normalizer found at
pkg/status_file/bin/normalize.dart.

To make sure all status files are kept in pristine condition, a linter is placed
on the presubmit hook. The linter can be found at pkg/status_file/bin/lint.dart.

Bug:
Change-Id: I20bdb74824be65f079b8c9ab08b7ae38394d637f
Reviewed-on: https://dart-review.googlesource.com/24112
Commit-Queue: Morten Krogh-jespersen <mkroghj@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
2017-12-07 08:38:30 +00:00
Leaf Petersen 5c7c45a9ef Update c019 html expectations to reflect newly passing tests.
Bug:
Change-Id: Ibc991d2bd5b135ee4a462ce9c1260930b53dd4d7
Reviewed-on: https://dart-review.googlesource.com/27000
Reviewed-by: Leaf Petersen <leafp@google.com>
2017-12-06 23:54:05 +00:00
Morten Krogh-Jespersen 39907272f6 Remove comments from status files.
This will allow for having automatic tools to alphabetize sections and entries.

Bug:
Change-Id: Ia7b7a100ca33197c4f3b1c50c11f24873dfbc09b
Reviewed-on: https://dart-review.googlesource.com/23675
Reviewed-by: Alexander Thomas <athom@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2017-11-28 07:56:20 +00:00
Morten Krogh-Jespersen a9a5081e10 Remove duplicate entries in same section from status files.
If two sections are syntactically equal, they are considered same section.

The discovery of duplicate entries was perfomed by the test in the CL:
https://dart-review.googlesource.com/#/c/sdk/+/21341

All removals has been done by hand to make sure the best comment was chosen.

Bug:
Change-Id: I105f6375adc1b5f555eb7c2af7d7d1e4e1922a32
Reviewed-on: https://dart-review.googlesource.com/21340
Reviewed-by: Alexander Thomas <athom@google.com>
2017-11-27 11:07:18 +00:00
Alan Knight 6d4661e527 Update status for flaky IE11/Win7 test. Bug 31430
Bug:
Change-Id: I71e32acd55138357ca247ffe5230fb382a37d1a6
Reviewed-on: https://dart-review.googlesource.com/22803
Reviewed-by: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Alan Knight <alanknight@google.com>
2017-11-22 01:08:47 +00:00
William Hesse 50eb1eccec Update status files for Firefox Quantum (57.0)
Bug:
Change-Id: I1d7a017409e8ff10791f897eea9295a89f8ac8ca
R=mkroghj@google.com
Reviewed-on: https://dart-review.googlesource.com/21542
Reviewed-by: Morten Krogh-jespersen <mkroghj@google.com>
2017-11-17 00:00:09 +00:00
Martin Kustermann 38518a98de [VM] Remove recently introduced assertion which doesn't always hold
The "main" method can also be a getter, which this assertion doesn't
take into account.  The assertion was just recently introduced in a
large CL and is not really necessary.

Revert "[gardening] Mark Language/Libraries_and_Scripts/Scripts/top_level_main_t05 crashing on debug dartk[p]"

Fixes https://github.com/dart-lang/sdk/issues/31389

Change-Id: I0fd45cfa5b885bb1942dcafe33afb922b7a75d40
Reviewed-on: https://dart-review.googlesource.com/21442
Commit-Queue: Martin Kustermann <kustermann@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2017-11-16 16:05:41 +00:00
Vyacheslav Egorov 3ccc772247 [gardening] Mark Language/Libraries_and_Scripts/Scripts/top_level_main_t05 crashing on debug dartk[p]
https://github.com/dart-lang/sdk/issues/31389

TBR=kustermann@google.com

Bug:
Change-Id: I62f9a67b94b1e549a618baff7bbb98fe7ecc7f6d
Reviewed-on: https://dart-review.googlesource.com/21441
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2017-11-16 14:44:17 +00:00
Vyacheslav Egorov d27c60f63c [gardening] Remove status files updates referencing fixed issue #31176
Bug:
Change-Id: Ic2dfa3c045b07835ae8ed5abd0745d3c0c72fc9a
Reviewed-on: https://dart-review.googlesource.com/20800
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2017-11-14 17:32:32 +00:00
Vyacheslav Egorov e9d6aae204 [gardening] Update dartkp status files
R=kustermann@google.com

Bug:
Change-Id: Ib70da1ef4c8d032fcebd15a28ee67c13cf7a612d
Reviewed-on: https://dart-review.googlesource.com/19980
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2017-11-10 10:43:03 +00:00
Régis Crelier f734e7ee38 [VM] Treat 'deferred' as a built-in identifier (fixes #31267 and #25732).
Reject built-in identifiers as prefix names (fixes #25733).
Update co19 status file.

Change-Id: I7fe5014d128bfdad442866e78196fb8dd2764dda
Reviewed-on: https://dart-review.googlesource.com/19860
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Régis Crelier <regis@google.com>
2017-11-09 23:29:52 +00:00
Vyacheslav Egorov fd78da5059 [gardening] Update dartkp status files.
Bug:
Change-Id: I51746bfa10bc10acc90c176ef98cf6da081a42d9
Reviewed-on: https://dart-review.googlesource.com/19568
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2017-11-09 16:26:01 +00:00
Jens Johansen 66bf1a5fbd [kernel, VM] ReportError on unsupported tag instead of crashing
Closes #31296.

Bug:
Change-Id: I1bcdd60d25fde7d99e71ce0e42efcd78916a3409
Reviewed-on: https://dart-review.googlesource.com/19186
Commit-Queue: Jens Johansen <jensj@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2017-11-09 13:25:07 +00:00
Jens Johansen d07e7c0fb9 [kernel] Fix AOT constant evaluation crashes
This fixes a number of issues caused by constant evalation reporting
an error, but not correctly propergating that error in AOT mode.

Fixes #31298

Bug:
Change-Id: I43d378e96f033a9bd5bc0d90e1c2cf130d2cce2e
Reviewed-on: https://dart-review.googlesource.com/19183
Commit-Queue: Jens Johansen <jensj@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2017-11-09 12:35:16 +00:00
Alexander Aprelev 7fa612735a Update test status post 1a45ad96ca
Bug:
Change-Id: I13d3f3b311a9efd4c1cc44dfa8cbbb14964ee645
Reviewed-on: https://dart-review.googlesource.com/19441
Reviewed-by: Alexander Markov <alexmarkov@google.com>
2017-11-08 21:18:43 +00:00
Vyacheslav Egorov 71978a74b9 [gardening] Update dartkp status files in attempt to make dartkp-release green.
Bug:
Change-Id: Iff6435ba7f69180c0395d278fceb33fc084d8a8c
Reviewed-on: https://dart-review.googlesource.com/19040
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
Commit-Queue: Vyacheslav Egorov <vegorov@google.com>
2017-11-07 17:24:29 +00:00