Commit Graph

121 Commits

Author SHA1 Message Date
Lasse R.H. Nielsen 74a8351fb6 Add test for cancel-future being awaited after an await for.
See http://dartbug.com/28974 (#28974)

R=floitsch@google.com

Review-Url: https://codereview.chromium.org/2734143002 .
2017-03-07 18:05:36 +01:00
Peter von der Ahé 2934dfaf16 Avoid crashing on function syntax.
R=karlklose@google.com

Review-Url: https://codereview.chromium.org/2730093002 .
2017-03-07 16:54:09 +01:00
Vyacheslav Egorov 7fe4c0991f Skip language/vm/closure_memory_retention_test on dartkp configuration.
The test is running out of memory.

TBR=kustermann@google.com

Review-Url: https://codereview.chromium.org/2731963002 .
2017-03-06 13:51:25 +01:00
Vyacheslav Egorov 005453346e Update Kernel dartkp mode statuses.
TBR=kustermann@google.com
BUG=

Review-Url: https://codereview.chromium.org/2732933003 .
2017-03-06 09:41:35 +01:00
Vyacheslav Egorov 021f933f69 VM: Make use_osr an Isolate flag, similar to how we made use_field_guards.
In Debug mode we have assertions checking that we don't attempt OSR when
FLAG_use_osr is disabled - however app-jit snapshots are compiled with OSR
enabled and still contain countining and OSR attempting code, which causes
assertions to fail.

Refactor how getters for isolate flags are defined, consolidate all flags into
a single list.

Update test expectations and switch -c dartk configuration to use app-jit snapshot.

BUG=
R=rmacnak@google.com

Review-Url: https://codereview.chromium.org/2728163002 .
2017-03-03 19:02:23 +01:00
Peter von der Ahé 3873b0fc83 Recover from bad supertypes.
R=johnniwinther@google.com

Review-Url: https://codereview.chromium.org/2729943003 .
2017-03-03 15:06:09 +01:00
Peter von der Ahé ff89087641 Recover correctly from this-parameter on non-constructors.
R=johnniwinther@google.com

Review-Url: https://codereview.chromium.org/2727313004 .
2017-03-03 12:40:30 +01:00
Peter von der Ahé 2af498fc84 Recover from missing arguments in new expression.
R=paulberry@google.com

Review-Url: https://codereview.chromium.org/2730763002 .
2017-03-03 10:31:19 +01:00
Peter von der Ahé 790df00dc6 Recover correctly from empty optional parameters.
R=paulberry@google.com

Review-Url: https://codereview.chromium.org/2725093003 .
2017-03-03 10:26:13 +01:00
Peter von der Ahé 628be2b36a Apply transformers and other work arounds to get boostrapping to work.
R=karlklose@google.com

Review-Url: https://codereview.chromium.org/2723173002 .
2017-03-02 14:31:58 +01:00
Jens Johansen a00f168dc1 Mark regress_22445_test as now passing
BUG=

Review-Url: https://codereview.chromium.org/2729573003 .
2017-03-02 13:27:01 +01:00
Peter von der Ahé 501c0e7c45 Clean up language_kernel.status.
R=kmillikin@google.com, vegorov@google.com

Review-Url: https://codereview.chromium.org/2730453003 .
2017-03-02 11:59:13 +01:00
Jens Johansen 89b68e905b Set dartAsyncMarker the same as asyncMarker unless explicitly set
R=kmillikin@google.com

Review-Url: https://codereview.chromium.org/2728683005 .
2017-03-02 11:13:38 +01:00
Kevin Millikin 8166deb009 Mark vm/lazy_deopt_vm_test as slow
BUG=
R=kmillikin@google.com

Review-Url: https://codereview.chromium.org/2722113002 .
2017-03-01 11:27:48 +01:00
Vyacheslav Egorov 8e267b29c1 Update status files for debug mode dartk/dartkp.
R=kustermann@google.com
BUG=

Review-Url: https://codereview.chromium.org/2722103002 .
2017-03-01 10:31:42 +01:00
Peter von der Ahé 2e0e3b918f Always provide a field for context.
R=karlklose@google.com

Review-Url: https://codereview.chromium.org/2723513002 .
2017-02-28 16:49:19 +01:00
Jens Johansen 773e90869c [Fasta] Save parent in TypeDeclarationBuilder
I get errors with library parent not set for some tests
(e.g. service tests). This fixes that.

BUG=
R=ahe@google.com

Review-Url: https://codereview.chromium.org/2726533002 .
2017-02-28 15:02:21 +01:00
Kevin Millikin b31e24f33a Update a test expectation.
A pair of tests that were crashing the front end are now passing.

BUG=
R=kustermann@google.com

Review-Url: https://codereview.chromium.org/2718203003 .
2017-02-28 13:03:54 +01:00
Martin Kustermann ce5906145d Status file update after analyzer->fasta dartk switch
R=vegorov@google.com

Review-Url: https://codereview.chromium.org/2721573002 .
2017-02-27 12:45:02 +01:00
Vyacheslav Egorov de56824429 Switch -c dartk/dartkp configuration to use fasta.
R=kustermann@google.com
BUG=

Review-Url: https://codereview.chromium.org/2721443002 .
2017-02-26 20:39:02 +01:00
Jens Johansen 26b6ecdf63 Enable causal stacktrace in kernel
R=kmillikin@google.com, kustermann@google.com

Committed: https://github.com/dart-lang/sdk/commit/b29829660bcdee7eb394e6fd4635ff7a6a77ef01
Review-Url: https://codereview.chromium.org/2690873005 .
2017-02-24 12:11:30 +01:00
Florian Loitsch 979183decf Add support for the new function-type syntax.
Fixes #27967
BUG= http://dartbug.com/27967
R=ahe@google.com, johnniwinther@google.com, paulberry@google.com, sigmund@google.com

Committed: https://github.com/dart-lang/sdk/commit/85227ba8a60332a18ae92cb1b87bf15d52a909bd
Reverted: https://github.com/dart-lang/sdk/commit/f5fc210f4f79f7e6b7ccefc24e7565e810e9dc7d
Committed: https://github.com/dart-lang/sdk/commit/e4999a631093690febb2eb90cbdbe1f9d5183455
Reverted: https://github.com/dart-lang/sdk/commit/c64c35153905fc2bf8a74c02297220385cfcbc87
Committed: https://github.com/dart-lang/sdk/commit/c289af39c36d9a5f7130a3e69b7891052652a64e
Reverted: https://github.com/dart-lang/sdk/commit/c66479f40767744d0bdd027c004583d6e32fe50f
Review-Url: https://codereview.chromium.org/2567133002 .
2017-02-23 13:36:28 +01:00
Florian Loitsch c66479f407 Revert "Add support for the new function-type syntax."
This reverts commit c289af39c3.

BUG=

Review-Url: https://codereview.chromium.org/2710973002 .
2017-02-22 17:19:35 +01:00
Florian Loitsch c289af39c3 Add support for the new function-type syntax.
Fixes #27967
BUG= http://dartbug.com/27967
R=ahe@google.com, johnniwinther@google.com, sigmund@google.com

Committed: https://github.com/dart-lang/sdk/commit/85227ba8a60332a18ae92cb1b87bf15d52a909bd

Reverted: https://github.com/dart-lang/sdk/commit/f5fc210f4f79f7e6b7ccefc24e7565e810e9dc7d

Committed: https://github.com/dart-lang/sdk/commit/e4999a631093690febb2eb90cbdbe1f9d5183455

Reverted: https://github.com/dart-lang/sdk/commit/c64c35153905fc2bf8a74c02297220385cfcbc87
Review-Url: https://codereview.chromium.org/2567133002 .
2017-02-22 16:53:49 +01:00
Jens Johansen b875199cef Re-mark language/disassemble_test as Pass, Crash
Was added here: https://github.com/dart-lang/sdk/commit/f95701bf6119f41dfcda921268ff07836bd86898
Was removed (by mistake I suppose) here: https://github.com/dart-lang/sdk/commit/fc2458b8423979573ef3bdc70edf9711b38a99b2

Readding it.

BUG=
R=kustermann@google.com

Review-Url: https://codereview.chromium.org/2702553002 .
2017-02-16 12:59:02 +01:00
Jens Johansen 8175f806b3 Skip vm/optimized_stacktrace_test in kernel debug mode
BUG=
R=karlklose@google.com

Review-Url: https://codereview.chromium.org/2697283002 .
2017-02-16 10:40:34 +01:00
pq ce8dd9cabb Revert "Enable causal stacktrace in kernel"
This reverts commit b29829660b.

(In quest for build greenness.)

BUG=
R=kustermann@google.com

Review-Url: https://codereview.chromium.org/2697083002 .
2017-02-15 11:11:30 -08:00
Jens Johansen b29829660b Enable causal stacktrace in kernel
R=kustermann@google.com

Review-Url: https://codereview.chromium.org/2690873005 .
2017-02-15 14:17:29 +01:00
Vyacheslav Egorov dad56e9b14 Gardening: Make dartk bots green.
Mark language/vm/causal_async_exception_stack2_test as failing

Skip co19 spawnUri_A01_t06 test as it is racy.

BUG=

Review-Url: https://codereview.chromium.org/2696003002 .
2017-02-14 18:57:48 +01:00
Martin Kustermann d93928a6ce Make dartk-{release,debug} builders work properly again
R=vegorov@google.com

Review-Url: https://codereview.chromium.org/2696613003 .
2017-02-14 14:01:58 +01:00
Dmitry Stefantsov bbd687197b Mark deferred loading test as failing for vm-kernel-precompiled
This is a known issue, see dartbug.com/28335

R=kmillikin@google.com

Review-Url: https://codereview.chromium.org/2681123003 .
2017-02-09 11:18:25 +01:00
Lasse R.H. Nielsen 794f66b32b Mark language/bad_raw_string_test/{none,03} as failing on dartk.
R=floitsch@google.com

Review-Url: https://codereview.chromium.org/2680863005 .
2017-02-08 11:31:17 +01:00
Matthias Hausner a7eb2f45c3 [Gardening] Update status file after fix of 28302
Front-end bug #28302 was fixed. Now update status file to adjust
test expectation.

TBR=kustermann

BUG=

Review-Url: https://codereview.chromium.org/2676453002 .
2017-02-01 16:26:11 -08:00
Karl Klose 0f85f32162 [gardening] Update status files for dartk_precompiled tests
TBR=vegorov@google.com

Review-Url: https://codereview.chromium.org/2661163004 .
2017-02-01 11:12:58 +01:00
Vyacheslav Egorov a7ffe24177 VM: [Kernel] Switch to DFE for testing -c dartk configuration.
R=kustermann@google.com

Review-Url: https://codereview.chromium.org/2668503003 .
2017-01-31 18:25:02 +01:00
Martin Kustermann fc2458b842 VM: [Kernel] Partial support for checked mode.
R=vegorov@google.com

Review-Url: https://codereview.chromium.org/2659363003 .
2017-01-31 12:10:46 +01:00
Paul Berry 1a0f33de44 Update status file to reflect c9b692e8d9.
c9b692e8d9 introduced some expected analyzer failures which also
affect kernel.  Update kernel status file to expect those failures.

TBR=brianwilkerson@google.com, scheglov@google.com

Review-Url: https://codereview.chromium.org/2660773003 .
2017-01-29 13:41:04 -08:00
Martin Kustermann ccd89165a0 VM: [Kernel] Add triaged test failure comments to status file
R=vegorov@google.com

Review-Url: https://codereview.chromium.org/2652653009 .
2017-01-24 17:56:36 +01:00
Brian Wilkerson cacf3c0f18 Fix kernel bots (TBR)
Review-Url: https://codereview.chromium.org/2642713006 .
2017-01-20 17:08:00 -08:00
Asger Feldthaus e6793f76ee Improvements to the kernel tree shaker.
- Use strong-mode types for more precise tree shaking.
- Bail out nicely if dart:mirrors is used.
- Run the tree shaker in the VM target.

The initial tree-shaking pass could be combined with the type checking
pass (inserting implicit down casts) but for now they remain separate.

R=kmillikin@google.com

Committed: https://github.com/dart-lang/sdk/commit/71efbad90c07bece4010162b77d3b51e79b0a34d
Review-Url: https://codereview.chromium.org/2627723003 .
2017-01-20 10:52:27 +01:00
Regis Crelier 4b77948aac Adjust status file of vm-kernel for failures related to covariant modifier.
Review-Url: https://codereview.chromium.org/2647633007 .
2017-01-19 19:25:52 -08:00
Martin Kustermann c5c7f45be0 VM: [Kernel] Ensure we don't capture :stack_trace variable in yielding functions
R=vegorov@google.com

Review-Url: https://codereview.chromium.org/2640353002 .
2017-01-19 18:53:22 +01:00
Asger Feldthaus deedd39f04 Revert "Improvements to the kernel tree shaker."
This reverts commit 71efbad90c.

BUG=

Review-Url: https://codereview.chromium.org/2644543004 .
2017-01-19 16:02:48 +01:00
Asger Feldthaus 71efbad90c Improvements to the kernel tree shaker.
- Use strong-mode types for more precise tree shaking.
- Bail out nicely if dart:mirrors is used.
- Run the tree shaker in the VM target.

The initial tree-shaking pass could be combined with the type checking
pass (inserting implicit down casts) but for now they remain separate.

R=kmillikin@google.com

Review-Url: https://codereview.chromium.org/2627723003 .
2017-01-19 14:00:31 +01:00
Asger Feldthaus 76442f9394 Fix language/bad_constructor_test in dartk and analyzer.
The test was incorrect because it did not declare that a static warning
was to be expected due to an unresolved reference to 'q'. The unresolved
reference has been removed as it has nothing to do with what it is
supposed to test.

The analyzer was incorrect in that a setter was reported to clash with
a constructor of the same name, but this failure was hidden by the
above issue. This has been fixed.

dartk inherited the issue (and its fix) from the analyzer, but some
additional error handling was needed in dartk to avoid crashing.

Closes https://github.com/dart-lang/sdk/issues/11576

BUG=
R=kmillikin@google.com, scheglov@google.com

Review-Url: https://codereview.chromium.org/2643693002 .
2017-01-19 13:10:32 +01:00
Jens Johansen 919b5ac8d0 Test for kernel async stacktrace bug
BUG= https://github.com/dart-lang/sdk/issues/28446
R=kustermann@google.com

Review-Url: https://codereview.chromium.org/2638403004 .
2017-01-19 12:37:58 +01:00
Asger Feldthaus d4dfb3088e Fix some crashes in dartk.
Dartk should no longer crash in these cases:
- main method is provided through an export
- main method is missing
- initializing formal parameter is unresolved
- the loadLibrary function is torn off

BUG=
R=kmillikin@google.com, vegorov@google.com

Committed: https://github.com/dart-lang/sdk/commit/d01bd88152b2d30d6a06d1379e41e1280d094dab
Committed: https://github.com/dart-lang/sdk/commit/979072821d1113248e285f7926663eb00d8a8206
Review-Url: https://codereview.chromium.org/2641523002 .
2017-01-19 12:12:36 +01:00
Martin Kustermann 6a4d70ef3a VM: [Kernel] Fix invocation of _AssertionError._create
A CL a few weeks ago added one more argument to the constructor (see https://codereview.chromium.org/2574003003)

R=vegorov@google.com

Review-Url: https://codereview.chromium.org/2640253002 .
2017-01-19 10:59:53 +01:00
Martin Kustermann e006da5d8c Bulk status file update to get kernel builders green
Review-Url: https://codereview.chromium.org/2640913004 .
2017-01-19 10:05:12 +01:00
Asger Feldthaus be9088060d Revert "Fix some crashes in dartk."
This reverts 979072821d

BUG=

Review-Url: https://codereview.chromium.org/2638353003 .
2017-01-18 20:52:13 +01:00