Commit Graph

809 Commits

Author SHA1 Message Date
keertip@google.com 52d2be32af fix for resolving dart core library names with "_"
Review URL: https://codereview.chromium.org//11416246

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15465 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-28 19:35:40 +00:00
scheglov@google.com f90ff506ad Issue 6859. Report wrong URI at correct location.
http://code.google.com/p/dart/issues/detail?id=6859

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11280196

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15425 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 23:31:46 +00:00
scheglov@google.com 34aca3a353 Issue 6969. Fix for reporting machine format for EOS error.
http://code.google.com/p/dart/issues/detail?id=6969

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11418190

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15416 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 21:41:18 +00:00
scheglov@google.com c262e9a7bb Issue 5359. Highlight 'on' in try-catch statement.
http://code.google.com/p/dart/issues/detail?id=5359

R=messick@google.com
BUG=

Review URL: https://codereview.chromium.org//11418186

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15414 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 21:19:04 +00:00
scheglov@google.com 4f5cbe2eff Allow not only 'Iterator iterator()' but also 'Iterator iterator' (field).
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11419186

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15411 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 19:50:22 +00:00
scheglov@google.com 61776ab7e5 Issue 6881. Import and part URIs can be adjacent strings
http://code.google.com/p/dart/issues/detail?id=6881

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11414175

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15351 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 23:11:26 +00:00
scheglov@google.com a780383353 Issue 6908. Fix parsing look for receiver.() in switch.
http://code.google.com/p/dart/issues/detail?id=6908

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11280155

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15336 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 18:56:12 +00:00
scheglov@google.com 1661792570 Issue 6866. Report not-implemented-in-concrete class warnings if there are members without body.
http://code.google.com/p/dart/issues/detail?id=6866

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11411146

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15335 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 18:45:06 +00:00
scheglov@google.com b67a63c232 Issue 6825. Parse @meta annotations before 'export' directive.
http://code.google.com/p/dart/issues/detail?id=6825

co19 failure should be fixed completely after http://code.google.com/p/dart/issues/detail?id=6836

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11414137

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15331 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 18:31:51 +00:00
scheglov@google.com c19d914af9 Fix for ClassCastException when [name] in comment uses import conflict name.
Was in feedback logs.

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11412156

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15327 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 18:05:23 +00:00
scheglov@google.com 1806149f58 Issue 6824. Re-export of conflicting elements is error.
http://code.google.com/p/dart/issues/detail?id=6824

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11308173

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15320 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 17:48:48 +00:00
scheglov@google.com 7b6e1b5a99 Issue 6823. Type variable bounds are type annotations, so there should be warning, not error.
http://code.google.com/p/dart/issues/detail?id=6823

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11414128

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15318 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 17:36:31 +00:00
scheglov@google.com a69c8b98fc Issue 6822. Report error only if import prefix is hidden by top-level element.
http://code.google.com/p/dart/issues/detail?id=6822

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11417135

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15314 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 16:49:05 +00:00
scheglov@google.com 5d7261d837 Issue 6790. Support for '--name=value' options style.
http://code.google.com/p/dart/issues/detail?id=6790

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11411136

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15312 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 16:32:30 +00:00
scheglov@google.com 1277895b47 Issue 6836. Using undeclared identifier in static context is now warning.
http://code.google.com/p/dart/issues/detail?id=6836

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11280135

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15311 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 16:18:35 +00:00
scheglov@google.com 62f9fea6ab Issue 6283. Support type literals as expressions.
http://code.google.com/p/dart/issues/detail?id=6283

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11316096

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15173 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-20 18:59:53 +00:00
scheglov@google.com d1a6c7a68b Don't allow 'abstract' and 'interface' in dart2js anymore
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11308116

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15170 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-20 18:41:22 +00:00
scheglov@google.com 83a0ccafa7 Issue 6770. Support for @deprecated on library directive.
http://code.google.com/p/dart/issues/detail?id=6770

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11415065

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15169 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-20 18:39:17 +00:00
scheglov@google.com ae23395701 Issue 6771. Show @deprecated warning for fields.
http://code.google.com/p/dart/issues/detail?id=6771

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11316088

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15127 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-20 02:03:20 +00:00
scheglov@google.com 90bd553412 Issue 6776. Infer sub-type member only if there is only one candidate.
http://code.google.com/p/dart/issues/detail?id=6776

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11348139

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15123 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 23:52:02 +00:00
scheglov@google.com 56e20681ea Issue 6779. Report error for missing getter/setter in unqualified field access
http://code.google.com/p/dart/issues/detail?id=6779

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11280065

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15105 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 20:00:39 +00:00
scheglov@google.com caaa026df9 Issue 6718. Resolve initializers in wrong methods, but report error.
http://code.google.com/p/dart/issues/detail?id=6718

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11412040

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15035 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-16 21:02:47 +00:00
keertip@google.com a1adfb789a Review URL: https://codereview.chromium.org//11348078
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15016 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-16 16:52:48 +00:00
scheglov@google.com 7b701d4c9c Issue 6711. Fix for NPE in resolver.
http://code.google.com/p/dart/issues/detail?id=6711

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11410076

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14902 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-14 17:02:11 +00:00
danrubel@google.com da4d1c5c7e cleanup unused code
Review URL: https://codereview.chromium.org//11369214

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14888 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-14 13:11:11 +00:00
scheglov@google.com dd172d631d Type quality of ArrayAccess is same as quality of target type.
Also tweak using "inferred exact" only for places where we sure about type.

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11364211

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14867 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 21:12:48 +00:00
scheglov@google.com 5a8befa2d8 Get real result for batch exacution.
Not just exit code 1 always.

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11366213

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14865 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 21:04:14 +00:00
ajohnsen@google.com 970cc5ba68 Move JSSyntaxRegExp to core as a private member. This removes the last refrences to dart:coreimpl.
After this cleanup, RegExp no longer have a const constructor. Use 'new
RegExp(...)' from now on.

BUG=

Review URL: https://codereview.chromium.org//11365196

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14838 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 10:41:37 +00:00
scheglov@google.com d27580a5ca Issue 6578. Report warning, not error for static/instance getter/setter mismatch
http://code.google.com/p/dart/issues/detail?id=6578

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11358187

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14772 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-10 00:43:05 +00:00
scheglov@google.com f1a782c5f0 Issue 6598. Fix for hanging during parsing incomplete 'switch'.
http://code.google.com/p/dart/issues/detail?id=6598

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11293165

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14687 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-08 15:54:36 +00:00
scheglov@google.com e094b33b6c Issue 6463. Remove support for obsolete metadata in comments.
http://code.google.com/p/dart/issues/detail?id=6463

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11369129

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14686 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-08 15:52:54 +00:00
scheglov@google.com 322c76d6a9 Issue 6560. Report error when generative constructor calls factory constructor.
http://code.google.com/p/dart/issues/detail?id=6560

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11368132

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14685 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-08 15:49:38 +00:00
scheglov@google.com a3ef4464eb Issue 6251. Resolve and rename type and constructor references in [new Type.name].
http://code.google.com/p/dart/issues/detail?id=6251

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11377039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14658 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 23:00:26 +00:00
scheglov@google.com 81ed8bda7d Issue 6427. Use '/' in URL.
http://code.google.com/p/dart/issues/detail?id=6427

R=messick@google.com
BUG=

Review URL: https://codereview.chromium.org//11377019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14638 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 17:20:55 +00:00
scheglov@google.com b6f29d80e6 Attempt to fix build.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14614 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 03:18:59 +00:00
scheglov@google.com e38fccf3e4 Issue 6251. Resolve and rename [id] references in documentation comments
http://code.google.com/p/dart/issues/detail?id=6251

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11312081

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14538 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 16:38:52 +00:00
scheglov@google.com 1d310ff72c Report error for deprecated #library #import #source
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11366078

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14535 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 16:21:20 +00:00
scheglov@google.com 3ef4e7ce32 Issue 6491. Fix for @annotation on getter/setter.
http://code.google.com/p/dart/issues/detail?id=6491

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11275136

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14507 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-03 02:51:39 +00:00
scheglov@google.com bde8258b86 Issue 6489. Report error when static method attempts to access const instance field.
http://code.google.com/p/dart/issues/detail?id=6489

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11369050

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14495 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 19:30:10 +00:00
scheglov@google.com 9e554d05e0 Use union type parts when check if type is subtype.
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11366062

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14492 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 17:52:13 +00:00
scheglov@google.com 7fed5e1373 Forgot TypeQuality
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14483 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 16:01:29 +00:00
scheglov@google.com 33f6347583 Issue 5157. Introduce TypeQuality. Try to find member in subclasses.
http://code.google.com/p/dart/issues/detail?id=5157

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11293058

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14480 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 15:45:06 +00:00
scheglov@google.com a2c7ebced0 Issue 6107. Infer cascade type when it is assigned to the element with know type
http://code.google.com/p/dart/issues/detail?id=6107

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11364032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14433 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 20:52:00 +00:00
devoncarew@google.com b7e4a2457d Reverting a performance optimization - I'm not comfortable it's side-effect free.
Review URL: https://codereview.chromium.org//11363039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14428 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 20:09:24 +00:00
scheglov@google.com be6aa334b0 Issue 5987. Report error if static const references instance const.
http://code.google.com/p/dart/issues/detail?id=5987

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11275093

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14421 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 17:59:48 +00:00
scheglov@google.com 303a6202cd Issue 5722. Better 'missing part of' error message. Quick Fix for it.
http://code.google.com/p/dart/issues/detail?id=5722

R=messick@google.com
BUG=

Review URL: https://codereview.chromium.org//11364020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14378 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 00:35:28 +00:00
scheglov@google.com 6d28c5c771 Cascade should have type set. Tests.
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11361018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14374 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 22:06:44 +00:00
scheglov@google.com d97431f262 Better warning to function-like call of getter; Quick Fix for it
R=messick@google.com
BUG=

Review URL: https://codereview.chromium.org//11365011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14365 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 19:31:20 +00:00
scheglov@google.com f970c9eaf4 Update semantic highlighting only if there are no parse errors
R=messick@google.com
BUG=

Review URL: https://codereview.chromium.org//11293018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14364 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 19:24:52 +00:00
devoncarew@google.com dace4b0f2e Making save a little faster:
-removed an extraneous reconcile (happening on the UI thread)
-removed an extraneous notification to the analysis server that the file had changed
Review URL: https://codereview.chromium.org//11348017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14363 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 18:55:36 +00:00