johnniwinther@google.com
bcf6565dfe
Support if-statements in analyzer2dart.
...
BUG=
R=sigurdm@google.com
Review URL: https://codereview.chromium.org//662363002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41186 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-20 10:21:13 +00:00
danrubel@google.com
4f2faa385c
fix failing test
...
BUG=
Review URL: https://codereview.chromium.org//669483002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41183 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-18 16:48:28 +00:00
sigmund@google.com
7ca5a2ccef
fix typo in error mesage polymer#42
...
R=jakemac@google.com
Review URL: https://codereview.chromium.org//664713003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41181 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-17 20:38:54 +00:00
brianwilkerson@google.com
acbf532add
Disable tests to fix the build
...
Review URL: https://codereview.chromium.org//664773002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41180 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-17 18:35:21 +00:00
danrubel@google.com
946d40e8ac
improve element parameter string returned by local suggestion computer
...
BUG=
R=scheglov@google.com
Review URL: https://codereview.chromium.org//664523003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41178 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-17 17:37:37 +00:00
danrubel@google.com
8da06376d3
update keyword suggestion priorities
...
BUG=
R=scheglov@google.com
Review URL: https://codereview.chromium.org//666473002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41177 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-17 17:35:41 +00:00
danrubel@google.com
efd813f9b3
update protocol server getter test
...
BUG=
R=paulberry@google.com
Review URL: https://codereview.chromium.org//662013002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41176 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-17 17:34:27 +00:00
danrubel@google.com
522e3433e4
remove duplicate packages in fuzz test
...
BUG=
R=paulberry@google.com
Review URL: https://codereview.chromium.org//656533004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41175 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-17 17:32:42 +00:00
brianwilkerson@google.com
82c1b3550b
Add (as yet unused) task
...
R=scheglov@google.com
Review URL: https://codereview.chromium.org//660203003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41172 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-17 16:57:33 +00:00
brianwilkerson@google.com
2fa3b2cab4
Add command-line options for instrumentation
...
R=paulberry@google.com
Review URL: https://codereview.chromium.org//664743002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41171 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-17 16:47:11 +00:00
paulberry@google.com
271aee1d83
Handle non-factory redirects in constant evaluation.
...
R=scheglov@google.com
Review URL: https://codereview.chromium.org//640813004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41169 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-17 15:54:44 +00:00
johnniwinther@google.com
6e7481e4af
Support binary expressions in analyzer2dart.
...
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org//661923003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41167 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-17 12:28:53 +00:00
johnniwinther@google.com
0496f8f2a1
Support dynamic get/invocation in analyzer2dart.
...
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org//662593003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41164 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-17 11:55:07 +00:00
johnniwinther@google.com
da0e6f745b
Split IrBuilder and IrBuilderVisitor.
...
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org//661933002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41163 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-17 11:41:06 +00:00
danrubel@google.com
582b276b6f
filter invalid method invocation suggestions
...
and filter _ from local suggestions
BUG=
R=scheglov@google.com
Review URL: https://codereview.chromium.org//651443006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41159 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-16 21:25:46 +00:00
brianwilkerson@google.com
dd794e0d02
Minor cleanup
...
R=scheglov@google.com
Review URL: https://codereview.chromium.org//660053002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41158 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-16 18:08:25 +00:00
danrubel@google.com
8d47e699d9
filter void methods when suggesting expression
...
BUG=
R=scheglov@google.com
Review URL: https://codereview.chromium.org//658053002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41153 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-16 16:46:45 +00:00
brianwilkerson@google.com
77613046a5
Generalize source entry
...
R=scheglov@google.com
Review URL: https://codereview.chromium.org//661603004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41151 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-16 15:12:45 +00:00
floitsch@google.com
32ef6273ae
Mark some analyzer/analysis_server tests as slow.
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//656163004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41147 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-16 13:16:09 +00:00
johnniwinther@google.com
8b1c404c16
Support local variables in analyzer2dart.
...
BUG=
R=floitsch@google.com , paulberry@google.com
Review URL: https://codereview.chromium.org//661593004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41146 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-16 13:09:05 +00:00
floitsch@google.com
728f4079e9
dart2js: restructure emitter.
...
Collect information before hand, and then emit output units in one go.
First emit the deferred units since we need their hashes in the main unit.
There is still code that collects the output-unit of the emitted element, even though we know that it should/must be in the current output-unit. That code can be cleaned up in a later CL. We should not need to look up the output unit for any element in the old-emitter anymore.
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//656043003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41142 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-16 11:53:51 +00:00
ricow@google.com
c416ea097d
Mark the analyzer tests slow generally on dart2js
...
We are seeing these flake on several bots
Review URL: https://codereview.chromium.org//645063003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41140 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-16 06:31:54 +00:00
danrubel@google.com
7c9dc9695b
add imported inherited member suggestions
...
BUG=
R=scheglov@google.com
Review URL: https://codereview.chromium.org//643153003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41137 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-16 01:55:30 +00:00
ahe@google.com
3658942df7
Handle top-level tear offs.
...
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//654523003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41130 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-15 13:49:29 +00:00
floitsch@google.com
5c2ad49d55
Mark analyzer test as slow.
...
Review URL: https://codereview.chromium.org//655223002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41129 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-15 13:47:50 +00:00
johnniwinther@google.com
15995eb9f5
Don't emit /* new backend */ comment by default.
...
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org//639733004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41127 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-15 12:54:40 +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
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
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
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
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
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
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
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
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
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
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
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
brianwilkerson@google.com
c8d866aa4d
Remove unused time stamps
...
R=scheglov@google.com
Review URL: https://codereview.chromium.org//651643002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41063 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-12 20:15:29 +00:00
paulberry@google.com
99a616e041
Type check field assignments during constant evaluation.
...
BUG=dartbug.com/16391
R=scheglov@google.com
Review URL: https://codereview.chromium.org//644283002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41062 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-11 21:25:07 +00:00