eernst@google.com
1f7fc3308c
Adjusted two tests in co19-dart2js.status
...
One test was associated with co19 issue 727, which turned out to be
only partially correct; as a consequence issue 21197 is invalid and
was removed from status. The other test was associated with co19
issue 731, which turned out to be wrong; as a consequence, a new issue
21271 was created and listed in status.
R=ricow@google.com
Review URL: https://codereview.chromium.org//641543004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41120 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-15 10:47:19 +00:00
johnniwinther@google.com
6980856181
Remove ResolutionEnqueuer.isLive
...
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org//654903002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41119 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-15 10:30:07 +00:00
vegorov@google.com
3d0ddfce79
BoundsCheckGeneralizer::Simplify should ignore unsupported binary ops.
...
R=fschneider@google.com
BUG=http://dartbug.com/21324
Review URL: https://codereview.chromium.org//656443003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41118 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-15 10:26:37 +00:00
ahe@google.com
910735c930
CSP and checked mode are slow.
...
R=ricow@google.com , whesse@google.com
Review URL: https://codereview.chromium.org//656963003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41117 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-15 09:46:59 +00:00
ahe@google.com
7e2d71a6d5
Avoid throwing exceptions on inter-frame communication.
...
R=vsm@google.com
Review URL: https://codereview.chromium.org//650093002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41116 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-15 07:37:41 +00:00
ricow@google.com
33883bd7a1
Also suppress error in try/web/cursor_position_test on safari iphone simulator
...
R=ahe@google.com
Review URL: https://codereview.chromium.org//653003003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41115 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-15 05:57:37 +00:00
danrubel@google.com
8465275f69
include locally inherited members in suggestions
...
BUG=
R=scheglov@google.com
Review URL: https://codereview.chromium.org//657593002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41114 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-15 03:25:20 +00:00
nweiz@google.com
ef22e9f989
Work around async_await#68 in pub.
...
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//655943002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41112 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-14 22:43:28 +00:00
kevmoo@google.com
a1adcd4356
pkg/shelf: only catch errors in createMiddleware if an errorHandler is provided
...
BUG= https://code.google.com/p/dart/issues/detail?id=21294
R=nweiz@google.com
Review URL: https://codereview.chromium.org//657543004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41111 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-14 22:07:14 +00:00
nweiz@google.com
9d53779ba9
Fix pkgbuild tests for async_await.
...
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//659613002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41110 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-14 21:49:36 +00:00
nweiz@google.com
d90398d1ab
Regenerate pub sources.
...
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//657673002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41109 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-14 21:23:17 +00:00
sigmund@google.com
98bc2672c0
Release polymer 0.15.1
...
R=jakemac@google.com
Review URL: https://codereview.chromium.org//659563003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41108 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-14 21:12:25 +00:00
hausner@google.com
053dc6eaee
Fixing release build
...
Make compiler happy.
TBR=srdjan
Review URL: https://codereview.chromium.org//653983003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41106 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-14 20:07:48 +00:00
hausner@google.com
2f49f29c38
Await always waits
...
The expression ‘await e’ always suspends the enclosing function. If e does not
evaluate to a an object o of type Future, a new Future is created using Future.value(o).
A small change in the backend allows a return instruction to be followed by
other instructions. In async functions, a return can suspend the function and the
continuation point is in the same code block after the return.
Other small changes:
- More user-friendly error message if async/await is not enabled.
- Programs no longer need to import dart:async when using async/await.
R=fschneider@google.com
Review URL: https://codereview.chromium.org//634603002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41105 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-14 19:58:06 +00:00
srdjan@google.com
e085c66b24
Disable test using async for non-VMs.
...
Review URL: https://codereview.chromium.org//653143002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41104 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-14 17:33:21 +00:00
floitsch@google.com
a6a079cb3d
Add support for source maps in deferred libraries.
...
BUG= http://dartbug.com/21221
R=johnniwinther@google.com
Committed: https://code.google.com/p/dart/source/detail?r=41094
Reverted: https://code.google.com/p/dart/source/detail?r=41095
Review URL: https://codereview.chromium.org//652723002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41103 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-14 16:53:36 +00:00
kevmoo@google.com
a6a29723a0
pkg/shelf: include the original onHijack
callback for Request.change
...
BUG= https://code.google.com/p/dart/issues/detail?id=21043
R=nweiz@google.com
Review URL: https://codereview.chromium.org//616463004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41102 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-14 16:43:01 +00:00
danrubel@google.com
be3cc6897b
exclude operators from "." suggestions
...
BUG=
R=scheglov@google.com
Review URL: https://codereview.chromium.org//655733002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41100 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-14 15:35:46 +00:00
fschneider@google.com
e6ef4b16bf
Fix captured parameters and optimized try-catch.
...
The stack slots of captured parameters must be skipped when
generating sync code in optimized try-catch. Since those parameters
are initially copied into the context, their values are not recorded
in the environment.
Store-to-load forwarding may though use the original initial value
from the stack and therefore it must not be overwritten by try-sync
code that predeeds every call inside optimized try-blocks.
R=srdjan@google.com
Review URL: https://codereview.chromium.org//653073002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41099 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-14 14:48:32 +00:00
paulberry@google.com
cd171c8d3d
Allow analyzer to distinguish unresolved types from dynamic.
...
This makes it possible to correctly report checked mode compile time
errors in the event of unresolved typenames.
BUG=dartbug.com/16391
R=brianwilkerson@google.com
Review URL: https://codereview.chromium.org//650323003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41098 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-14 13:47:37 +00:00
floitsch@google.com
9a8c878d48
Mark analyzer test as failing.
...
Add minimal example to lib/mirrors.
R=ricow@google.com
Review URL: https://codereview.chromium.org//655803002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41097 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-14 13:44:38 +00:00
floitsch@google.com
1a9bd9ac0d
Revert "Add support for source maps in deferred libraries."
...
This reverts commit r41094.
Review URL: https://codereview.chromium.org//656783002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41095 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-14 09:52:51 +00:00
floitsch@google.com
f42b9ef7f2
Add support for source maps in deferred libraries.
...
BUG= http://dartbug.com/21221
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//652723002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41094 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-14 09:34:25 +00:00
lrn@google.com
cd16d94f1e
Add concurrent modification check to ListMixin/IterableMixin.reduce.
...
Add tests of reduce and fold.
BUG= http://dartbug.com/21289
R=ajohnsen@google.com
Review URL: https://codereview.chromium.org//656773002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41093 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-14 09:12:21 +00:00
floitsch@google.com
ff86ef7494
Add failing (for dart2js) deferred constant-list test.
...
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//652713002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41092 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-14 09:02:53 +00:00
danrubel@google.com
1766795d5f
improve method invocation and string interpolation suggestions
...
BUG=
R=scheglov@google.com
Review URL: https://codereview.chromium.org//651953006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41091 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-14 06:07:58 +00:00
rmacnak@google.com
2b51264dcf
Make deserialization more regular as prep for deferring canonicalization for types/instances.
...
BUG=http://dartbug.com/21079
R=asiva@google.com
Review URL: https://codereview.chromium.org//624103003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41089 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-14 01:16:00 +00:00
sigmund@google.com
b9083e5fae
Fix web_components test in FF
...
Review URL: https://codereview.chromium.org//647393003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41088 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-13 23:20:44 +00:00
nweiz@google.com
ac6abf0fbf
"pub get" doesn't choke on previously-cached unknown transformers.
...
BUG=https://code.google.com/p/dart/issues/detail?id=21298
R=alanknight@google.com
Review URL: https://codereview.chromium.org//651993006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41087 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-13 23:10:29 +00:00
paulberry@google.com
69d1c6fb2b
Disable test "check_all_test" on debug builds.
...
The only purpose of this test is to verify that analysis server code
generation is up to date, so it is sufficient to just run it on the
release buildbots, where is completes more quickly.
R=brianwilkerson@google.com
Review URL: https://codereview.chromium.org//651953005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41086 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-13 21:49:50 +00:00
paulberry@google.com
febb8f2e22
Split up large resolver_test.dart file.
...
This splits the four largest classes out of resolver_test.dart
and into their own files. Hopefully this should help prevent
resolver_test.dart from timing out on the buildbots.
R=scheglov@google.com
Review URL: https://codereview.chromium.org//656543003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41085 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-13 21:43:33 +00:00
hausner@google.com
05398d6e02
Reuse function objects of async closure body
...
When an async function is compiled, it creates a closure that contains the code of the async function’s body. Before this change, a new function object is created each time the async function is compiled. This change looks up previously created closures and reuses them, similar to what the parser does for local functions.
R=rmacnak@google.com
Review URL: https://codereview.chromium.org//651013002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41084 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-13 21:38:12 +00:00
paulberry@google.com
d18a4fb151
Fix spelling: existant -> existent
...
R=brianwilkerson@google.com , scheglov@google.com
Review URL: https://codereview.chromium.org//650323002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41083 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-13 21:11:52 +00:00
paulberry@google.com
77d74fa766
Fix constant evaluation in the presence of nonexistent fields.
...
R=brianwilkerson@google.com
Review URL: https://codereview.chromium.org//652833002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41082 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-13 21:07:00 +00:00
sigmund@google.com
a9b3fed799
Splitting interop support so dart_support.js
is no longer required.
...
R=jakemac@google.com
Review URL: https://codereview.chromium.org//644163002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41081 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-13 20:14:19 +00:00
paulberry@google.com
ae894fe21a
Verify correctness of classes derived from Enum.
...
Now that the analyzer code is no longer being translated from
Javascript, we have to maintain the enum classes manually. These
tests will help avoid mistakes.
R=brianwilkerson@google.com , scheglov@google.com
Review URL: https://codereview.chromium.org//639293004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41080 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-13 20:02:28 +00:00
srawlins@google.com
fe9702df79
I was looking at the typo in 19178, and then the TODO in hexToInt. int.parse gained its radix parameter in https://code.google.com/p/dart/issues/detail?id=2624 around Dart SDK v1.1, so I bumped it in the pubspec.
...
Rewrite csslib's hexToInt
BUG= https://code.google.com/p/dart/issues/detail?id=19178
R=terry@google.com
Review URL: https://codereview.chromium.org//651823002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41079 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-13 18:00:33 +00:00
gbracha@google.com
3f7b6cf6a0
Fix typos due to TeXShop quote (mis)processing
...
R=eernst@google.com
Review URL: https://codereview.chromium.org//639953003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41078 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-13 17:12:08 +00:00
sigmund@google.com
9ba76cd397
Add more options to configure the linter.
...
R=jakemac@google.com
Review URL: https://codereview.chromium.org//648883002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41077 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-13 16:09:40 +00:00
ahe@google.com
394638f300
Perform incremental compilation, and run the updated program.
...
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//641143002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41076 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-13 13:30:44 +00:00
ahe@google.com
5eaafa68c8
Web tests don't run on command line
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//650133002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41075 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-13 13:24:54 +00:00
ahe@google.com
85a9ec1d7b
Try Dart doesn’t run on Dartium, but its test do.
...
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//645623005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41074 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-13 13:08:05 +00:00
ahe@google.com
7e05d9d1e7
Firefox is really slow
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//650873002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41073 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-13 13:07:30 +00:00
ahe@google.com
754a7bdaba
Firefox is slow
...
Review URL: https://codereview.chromium.org//650113002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41072 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-13 13:00:18 +00:00
ahe@google.com
49f489e643
Mark test as flaky on Safari
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//652583003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41071 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-13 12:40:06 +00:00
ahe@google.com
b4cc366a70
Scaffolding for testing incremental compilation.
...
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//645513002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41070 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-13 12:06:33 +00:00
johnniwinther@google.com
21da60f258
Fix forget_element_test.
...
BUG=
Review URL: https://codereview.chromium.org//649173002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41069 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-13 10:03:01 +00:00
johnniwinther@google.com
6db65c4785
Refactor tracking of instantiated types/classes.
...
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org//645613003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41068 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-13 08:36:11 +00:00
johnniwinther@google.com
a0d7e30c26
Remove the need for functionSignature.
...
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org//641923003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41067 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-13 08:05:17 +00:00
scheglov@google.com
11f7d4027e
Fix for missing LineInfo to SDK entries.
...
I will update analyzer reference in pubspec before commit.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//647553006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41064 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-12 21:27:08 +00:00