Asger Feldthaus
e7b9672b3e
Revert "Remove status file sections for the CPS IR."
...
This reverts commit 2d6c90a6b3 .
BUG=
Review-Url: https://codereview.chromium.org/2720283002 .
2017-02-28 17:08:04 +01:00
Asger Feldthaus
2d6c90a6b3
Remove status file sections for the CPS IR.
...
BUG=
R=kmillikin@google.com
Review-Url: https://codereview.chromium.org/2720513006 .
2017-02-28 14:40:06 +01:00
Stephen Adams
e4ffa70ba5
Redo "Flush deferred action queue"
...
This is https://github.com/dart-lang/sdk/commit/8eedb9c6527f955413e47c9350d3c5114cd89942 plus status file updates
TBR=johnniwinther@google.com
Review-Url: https://codereview.chromium.org/2726463002 .
2017-02-27 21:10:36 -08:00
Alan Knight
81b6e01f70
Mark lib/mirrors/native_class_test slow on chrome linux
...
BUG=
Review-Url: https://codereview.chromium.org/2694703005 .
2017-02-13 13:56:20 -08:00
Zachary Anderson
0111122ca0
[Fuchsia] Update test status files
...
R=asiva@google.com , rmacnak@google.com
Review-Url: https://codereview.chromium.org/2693643002 .
2017-02-10 21:34:33 -08:00
Kevin Millikin
508793071a
Do not invoke fatal in dart:_internal when fuzzing mirrors
...
Add fatal from dart:_internal to the blacklist of functions we should
not invoke while fuzzing mirrors. Invoking it will not succeed.
Arguably, mirrors should not be able to see any of the members of
dart:_internal but that's a bigger implementation change and possibly
a breaking change.
BUG=
R=kustermann@google.com
Review-Url: https://codereview.chromium.org/2687883002 .
2017-02-09 14:08:29 +01:00
Brian Wilkerson
2ee2fe9b5c
[Gardening] Disable running strong-mode analyzer tests in code that is not strong mode clean
...
R=whesse@google.com
Review-Url: https://codereview.chromium.org/2679553003 .
2017-02-06 13:26:39 -08:00
Peter von der Ahé
f5d9f29cae
Use factory syntax in circular_factory_redirection_test.
...
R=johnniwinther@google.com
Review-Url: https://codereview.chromium.org/2669233002 .
2017-02-06 11:03:01 +01:00
William Hesse
7a718e62c6
Suppress analyze_library tests on the new analyzer bots
...
BUG=https://github.com/dart-lang/sdk/issues/28620
Review-Url: https://codereview.chromium.org/2674793004 .
2017-02-03 08:24:21 +01:00
William Hesse
33e89e66be
Update status for analyze_libraries suite, and make it work with --use-sdk
...
BUG=https://github.com/dart-lang/sdk/issues/28620
R=fschneider@google.com
Review-Url: https://codereview.chromium.org/2671913002 .
2017-02-03 03:20:57 +01:00
Matthias Hausner
90ed8e9d27
Update dart2js host-checked status for circular_factory_redirection_test
...
Test circular_factory_redirection_test/02 no longer crashes,
probably a side effect of the new Fasta front-end.
BUG=
Review-Url: https://codereview.chromium.org/2675473002 .
2017-02-01 14:35:49 -08:00
Jennifer Messerly
0e00b3e5c8
fix #28008 , fix #28009 implement FutureOr<T>
...
This implements FutureOr<T> in strong mode, otherwise it's ignored (treated as `dynamic`.
Also fixes strong mode's inference subtype function incorrectly treating `void` as a malformed type. This had the consequence of allowing `void` to be inferred as a type argument.
R=leafp@google.com , paulberry@google.com
Review-Url: https://codereview.chromium.org/2647833002 .
2017-01-25 15:32:57 -08:00
Zachary Anderson
63c4b6b1cb
Revert "Remove package:unittest from some tests"
...
This reverts commit dde47b2aad .
Revert "Update Dartium status for passing test"
This reverts commit d71c70d56d .
Tests failing on dart2js and async_star_pause_test is
passing on Dartium. Need to think about how to update the
status files.
Review-Url: https://codereview.chromium.org/2656503004 .
2017-01-25 11:06:58 -08:00
Zachary Anderson
dde47b2aad
Remove package:unittest from some tests
...
package:unittest is deprecated in favor of package:test.
R=fschneider@google.com
Review-Url: https://codereview.chromium.org/2656743002 .
2017-01-25 08:50:02 -08:00
Lasse R.H. Nielsen
fb7553c1bd
Add offset to UTF8-decode format exceptions.
...
Fixes issue #28293
BUG= http://dartbug.com/28293
R=floitsch@google.com
Review-Url: https://codereview.chromium.org/2619793002 .
2017-01-23 14:18:40 +01:00
Regis Crelier
97c42acc30
Support FutureOr<T> in the VM ( fixes #28010 ).
...
R=asiva@google.com , rmacnak@google.com
Review-Url: https://codereview.chromium.org/2642443002 .
2017-01-17 10:27:21 -08:00
Florian Schneider
bef4967ea1
Remove dart_noopt and related parts from the VM.
...
dart_noopt is not needed anymore because we have testing
and builbot integration of the real precompilation pipeline in place now.
Fixes #24569
Fixes #25726
Fixes #25845
R=rmacnak@google.com
Review-Url: https://codereview.chromium.org/2624393002 .
2017-01-11 16:55:55 -08:00
Florian Loitsch
2547caab25
Reapply "reflectType() dynamic type arguments support ( #26012 )"
...
This was a pull request: 8a8033a417
MirrorsUsed doesn't transitively include reflective information. However, it must still be able to create TypeMirrors for types that are used as return- or parameter types.
Initially, the patch checked that TypeMirrors had the correct number of arguments for generic types. This is now disabled.
A better approach would be to know if a class has full reflective information, or not. But this would require much bigger changes to the system.
R=sigmund@google.com
Review-Url: https://codereview.chromium.org/2615943004 .
2017-01-10 15:53:21 +01:00
Jennifer Messerly
816592a941
fixes #28236 , generic methods should not cause warnings in Dart 1
...
Instantiate universal functions in subtype tests & tear-offs. Also updates the status files and one Analyzer test that covered the tear-off type.
R=brianwilkerson@google.com
Review-Url: https://codereview.chromium.org/2621433003 .
2017-01-09 12:46:20 -08:00
Asger Feldthaus
6bae3151e2
Revert "reflectType() dynamic type arguments support ( #26012 )"
...
This reverts commit 8a8033a417 .
There are a bunch of dart2js mirror tests that fail.
Issue https://github.com/dart-lang/sdk/pull/26012
BUG=
Review-Url: https://codereview.chromium.org/2617163002 .
2017-01-06 19:12:27 +01:00
Anatoly Pulyaevskiy
8a8033a417
reflectType() dynamic type arguments support ( #26012 )
...
* Basic implementation of reflecting generic types using dynamic list of type arguments
* Removed redundant expectation in test
* Added basic support for dynamic type arguments in reflectType of js_mirrors
* Fixes according to code review comments: major cleanup, added more test cases and updated docs
* Updated JS mirrors reflectType() to match behavior of VM implementation
* Terminate exception messages with a dot; Improved error handling for empty argument list and type checks;
* Use NumTypeParameters when checking provided argument list size
* Check if type arguments are malbounded; added test cases for typedefs and mixins
* Uncommented a test case
* Updated lib.status to mark some tests as failing in dart2js due to limitations in JS mirrors
* Fixed mixin test mock definition; updated configuration for tests requiring checked mode
* Handle nested generic types in type argument parsing (JS)
2017-01-06 06:05:14 -08:00
Regis Crelier
e8d1c09d34
Add mirrors tests for Null type.
...
R=rmacnak@google.com
Review-Url: https://codereview.chromium.org/2617743002 .
2017-01-05 13:27:14 -08:00
Kasper Lund
a6135a0c64
The async/timer_regress22626_test test looks flaky by design.
...
Expanding the MIPS-specific flaky marker in the status file to cover all architectures after seeing this on debug-x64 too.
See https://github.com/dart-lang/sdk/issues/28254 and the older
https://github.com/dart-lang/sdk/issues/22626 .
R=whesse@google.com
BUG=
Review-Url: https://codereview.chromium.org/2615593002 .
2017-01-04 11:36:27 +01:00
Lasse R.H. Nielsen
44594277e1
Make core libraries use generic method syntax.
...
Removes comment syntax where possible for the following platform libraries:
* async
* collection
* convert
* core
* internal
* io
* math
The HTML related libraries are not changed. The templates used to build them
must be changed as well.
R=floitsch@google.com
Committed: https://github.com/dart-lang/sdk/commit/68818315b5cc6c63fea0e10e90f515f6083ec095
Committed: https://github.com/dart-lang/sdk/commit/3f74b8d82edca8c342c43306714e68ddf84548e1
Review-Url: https://codereview.chromium.org/2529393002 .
2017-01-03 12:05:40 +01:00
Regis Crelier
3334c2402a
Second try: Fix resolution and canonicalization of typedefs and function types
...
in preparation of the new typedef syntax.
R=asiva@google.com
Review-Url: https://codereview.chromium.org/2606993002 .
2016-12-28 14:53:23 -08:00
Florian Loitsch
d77af3e562
Update status file.
...
Review-Url: https://codereview.chromium.org/2585483004 .
2016-12-17 00:12:33 +01:00
Lasse Reichstein Holst Nielsen
3f74b8d82e
Make core libraries use generic method syntax.
...
Removes comment syntax where possible for the following platform libraries:
* async
* collection
* convert
* core
* internal
* io
* math
The HTML related libraries are not changed. The templates used to build them
must be changed as well.
R=floitsch@google.com
Review URL: https://codereview.chromium.org/2529393002 .
Committed: https://github.com/dart-lang/sdk/commit/68818315b5cc6c63fea0e10e90f515f6083ec095
2016-12-14 12:24:36 +01:00
Lasse Reichstein Holst Nielsen
68818315b5
Make core libraries use generic method syntax.
...
Removes comment syntax where possible for the following platform libraries:
* async
* collection
* convert
* core
* internal
* io
* math
The HTML related libraries are not changed. The templates used to build them
must be changed as well.
R=floitsch@google.com
Review URL: https://codereview.chromium.org/2529393002 .
2016-12-14 11:32:16 +01:00
Florian Loitsch
36c5cea288
Update status file and test.
...
Fixes red status for dartium/drt.
Also makes one test more precise (and less likely to fail for the wrong
reasons).
Review-Url: https://codereview.chromium.org/2571583006 .
2016-12-13 14:02:25 +01:00
Florian Loitsch
cc2eba8c2a
Implement FutureOr<T> for dart2js.
...
In dart2js, FutureOr<T> should simply be treated as `dynamic`.
Fixes #28011
BUG= http://dartbug.com/28011
R=johnniwinther@google.com , sigmund@google.com
Review URL: https://codereview.chromium.org/2559523006 .
2016-12-12 15:21:03 +01:00
Florian Loitsch
0c3deba6df
Add tests for FutureOr<T>.
...
R=lrn@google.com
Review URL: https://codereview.chromium.org/2564563003 .
2016-12-12 14:54:57 +01:00
Ryan Macnak
1ebeb79942
Remove runtime 'dart_app' as it became identical to 'vm'.
...
Merge compiler 'dart2app' and 'dart2appjit' and rename to 'app_jit' since they came to mean the same thing.
Update status files to reflect these changes.
R=asiva@google.com
Review URL: https://codereview.chromium.org/2541533004 .
2016-12-01 16:47:33 -08:00
Matthias Hausner
6e84b56256
Fix dartium test expectations
...
Fallout from initializing formal access change.
BUG=
R=whesse@google.com
Review URL: https://codereview.chromium.org/2535083002 .
2016-11-28 14:04:14 -08:00
Matthias Hausner
b48435197a
Turn on initializing formal access
...
Change default value of --initializing_formal_access to true.
BUG=27892
R=regis@google.com
Review URL: https://codereview.chromium.org/2540453002 .
2016-11-28 13:15:15 -08:00
Johnni Winther
e4c612fc3e
Handle forwarding constructors of unnamed mixin applications for reflection
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org/2519383002 .
2016-11-22 15:58:50 +01:00
John McCutchan
2e197df37d
Rehash canonical constants table for each class that can be affected by the 'become' operation
...
Fixes #27803
Rehashing all classes canonical constant's takes 3milliseconds for gallery on an Nexus 7.
BUG=
R=asiva@google.com , rmacnak@google.com
Review URL: https://codereview.chromium.org/2497673004 .
2016-11-17 07:41:24 -08:00
John McCutchan
a584ee7141
Fix status file typo
...
BUG=
Review URL: https://codereview.chromium.org/2501393002 .
2016-11-15 10:42:07 -08:00
John McCutchan
50b47360bd
Update more status files for hot reload bots
...
BUG=
Review URL: https://codereview.chromium.org/2500343003 .
2016-11-15 07:34:03 -08:00
John McCutchan
1d5df9bc8c
Mark some tests as being timing dependent or slow on hot reload bots
...
BUG=
Review URL: https://codereview.chromium.org/2502813002 .
2016-11-14 14:12:52 -08:00
Siva Annamalai
84ad096687
- Turn on canonicalization verification after a reload in debug mode.
...
- Rehash the canonical constants table for all new classes, this fixes
numerous issues found with the canonical verification
also fixes https://github.com/dart-lang/sdk/issues/26868
- Added issue https://github.com/dart-lang/sdk/issues/27803 and
https://github.com/dart-lang/sdk/issues/27802 for remaining bugs.
BUG=#26868
R=rmacnak@google.com
Review URL: https://codereview.chromium.org/2490233004 .
2016-11-10 16:13:33 -08:00
Lasse R.H. Nielsen
7bb7f5e6bb
Handle the case of Stream.take(0) better.
...
The current implementation listens to the stream and waits for it to complete.
The change makes it listen and then immediately cancel, and then return a
subscription that only sends done.
R=floitsch@google.com
Review URL: https://codereview.chromium.org/2444363004 .
Committed: https://github.com/dart-lang/sdk/commit/8cead4090cc0b1184a2ad552003ac38cae1e2c77
Committed: https://github.com/dart-lang/sdk/commit/9ebef9af7c7086a4e0f935b3ebd29aa4e990da91
2016-11-07 11:48:48 +01:00
Lasse R.H. Nielsen
9ebef9af7c
Handle the case of Stream.take(0) better.
...
The current implementation listens to the stream and waits for it to complete.
The change makes it listen and then immediately cancel, and then return a
subscription that only sends done.
R=floitsch@google.com
Review URL: https://codereview.chromium.org/2444363004 .
Committed: https://github.com/dart-lang/sdk/commit/8cead4090cc0b1184a2ad552003ac38cae1e2c77
2016-11-04 15:55:05 +01:00
William Hesse
3bd04426a8
Revert "Handle the case of Stream.take(0) better." This reverts commit 8cead4090c.
...
The test co19/LibTest/async/Stream/take_A01_t02 was failing after this
commit, on macos and windows, and perhaps everywhere.
BUG=
TBR=lrn@google.com
Review URL: https://codereview.chromium.org/2475303002 .
2016-11-04 15:47:46 +01:00
Lasse R.H. Nielsen
8cead4090c
Handle the case of Stream.take(0) better.
...
The current implementation listens to the stream and waits for it to complete.
The change makes it listen and then immediately cancel, and then return a
subscription that only sends done.
R=floitsch@google.com
Review URL: https://codereview.chromium.org/2444363004 .
2016-11-04 14:54:58 +01:00
Florian Schneider
44418359e0
DBC: Handle constants correctly in the optimizing backend
...
We don't always allocate a register for constants in optimized code. Instead
they are copied into registes as needed by parallel moves at the use site.
Fixes #27731 .
R=vegorov@google.com
Review URL: https://codereview.chromium.org/2477653002 .
2016-11-03 12:24:05 +01:00
Ryan Macnak
d8bb15f915
Mark failing DBC tests.
...
Issue #27731
Issue #27732
Issue #27733
R=zra@google.com
Review URL: https://codereview.chromium.org/2465253007 .
2016-11-02 15:28:57 -07:00
Sigmund Cherem
3cdcaeda96
Fix browser test status.
...
This is to match the state of the bots, it appears that chrome was recently upgraded.
BUG=
Review URL: https://chromiumcodereview-hr.appspot.com/2426093002 .
Committed: https://github.com/dart-lang/sdk/commit/940e498e1788c342f6a1bafbbda6b5983c7e070f
2016-10-18 12:50:58 -07:00
Sigmund Cherem
2200ee77f7
Revert "Fix browser test status."
...
This reverts commit 940e498e17 .
2016-10-18 12:48:15 -07:00
Sigmund Cherem
940e498e17
Fix browser test status.
...
This is to match the state of the bots, it appears that chrome was recently upgraded.
BUG=
Review URL: https://chromiumcodereview-hr.appspot.com/2426093002 .
2016-10-18 12:38:45 -07:00
William Hesse
25e3b30560
Update status for failing tests
...
BUG=https://github.com/dart-lang/sdk/issues/27557
R=floitsch@google.com
Review URL: https://codereview.chromium.org/2405843002 .
2016-10-10 16:26:55 +02:00