Commit Graph

887 Commits

Author SHA1 Message Date
devoncarew@google.com dc4e8146f7 TBR update the dartc deprecation message
Review URL: https://codereview.chromium.org//16031002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23157 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-24 17:10:26 +00:00
devoncarew@google.com 69686847b4 Add a deprecation warning to dartc.
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23156 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-24 16:57:21 +00:00
floitsch@google.com 170b327590 Revert "Allow ambiguous Expect and ExpectException imports."
This reverts commit r18318.

BUG= http://dartbug.com/8474
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23147 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-24 13:21:58 +00:00
ngeoffray@google.com bc0f42d484 Implement rethrow in dart-analyzer.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22844 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-17 10:54:23 +00:00
ager@google.com 431954b584 Rename dart:typeddata to dart:typed_data.
R=asiva@google.com, floitsch@google.com, srdjan@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21871 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 11:54:54 +00:00
brianwilkerson@google.com 239462be94 Fix exception in dartc
Review URL: https://codereview.chromium.org//14230014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21581 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 21:33:24 +00:00
devoncarew@google.com 439269739c Update references from scalarlist ==> typedata.
Review URL: https://codereview.chromium.org//13335002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20686 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-29 19:03:05 +00:00
devoncarew@google.com a4a72c29ca Updates to the new analyzer to help make the try bot happy.
Review URL: https://codereview.chromium.org//12438007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19946 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-13 17:06:20 +00:00
scheglov@google.com 8f5487dee5 Fix warning work arounded in 12787002.
https://codereview.chromium.org/12787002/

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19895 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-12 20:52:51 +00:00
scheglov@google.com 925e6d68be Issue 9084. Don't recompute binary operator RHS argument type.
https://code.google.com/p/dart/issues/detail?id=9084

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19891 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-12 20:15:18 +00:00
lrn@google.com 36adbd18e0 Change analyzer to not complain about string+string.
Review URL: https://codereview.chromium.org//12566012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19792 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 13:56:19 +00:00
keertip@google.com cbb4b0d59a fix for uri creation when host is null
Review URL: https://codereview.chromium.org//12633010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19700 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 17:47:23 +00:00
scheglov@google.com c92c823df7 Issue 8973. Don't cast to NodeElement where not needed.
https://code.google.com/p/dart/issues/detail?id=8973

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19696 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 16:43:07 +00:00
scheglov@google.com 7917247dd9 Intern AST and Model names to reduce char[]/String waste.
This allows to save 53 MB (25% of total 200 MB) in workspace with "analyzer-experimental".
No any difference in Editor Core test execution time.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19646 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-07 17:45:56 +00:00
scheglov@google.com 8e7e5422aa Rollback 'analyze Dart in Html'.
Was https://codereview.chromium.org/11348291/

R=devoncarew@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19505 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 19:11:48 +00:00
devoncarew@google.com 3796de128e Update dartc tests and services_test plugins to run from the buildbot_test plugin.
Adds the services tests to the buildbot test suite.
Review URL: https://codereview.chromium.org//12328102

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19051 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 16:22:10 +00:00
scheglov@google.com 92efd81030 Issue 8705. Fix for NPE when use method from mixin inside of class.
https://code.google.com/p/dart/issues/detail?id=8705

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19011 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-25 22:56:34 +00:00
scheglov@google.com 5bb176d2d1 Issue 8132. Suppress INFO problems in SDK.
http://code.google.com/p/dart/issues/detail?id=8132

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18362 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 01:08:14 +00:00
floitsch@google.com bbbe0c382d Allow ambiguous Expect and ExpectException imports.
This patch temporarily allows Expect to come from core and from any other library without (I wanted to make the CL public reporting an error (or warning).
Once everyone (including co19) has migrated I will revert this CL.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18318 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 17:59:52 +00:00
scheglov@google.com d4abbe1355 Getter and setter methods can share name.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18306 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 05:44:16 +00:00
floitsch@google.com e1efa71761 Hide collection-dev library.
Committed: https://code.google.com/p/dart/source/detail?r=18167
Reverted: https://code.google.com/p/dart/source/detail?r=18169

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18172 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-06 15:11:47 +00:00
scheglov@google.com 018e8cca32 Issue 8169. Type inferred from 'query' is 'inferred exact'.
http://code.google.com/p/dart/issues/detail?id=8169

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17795 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 18:37:17 +00:00
scheglov@google.com 368d8d1b5c Issue 8027. Disallow cyclic mixins.
http://code.google.com/p/dart/issues/detail?id=8027

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17664 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 22:47:10 +00:00
scheglov@google.com d9605fe9ef Issue 8051. Make extended exit codes optional.
http://code.google.com/p/dart/issues/detail?id=8051

Unfortunately testing framework expects exactly 0 and 1.
So, I've made 0/1/2 exit codes optional.

Phil, FYI

R=devoncarew@google.com,pquitslund@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17629 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 04:11:12 +00:00
scheglov@google.com be31b47690 Issue 8051. dart_analyzer return codes on errors
http://code.google.com/p/dart/issues/detail?id=8051

R=devoncarew@google.com,whesse@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17622 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 00:47:48 +00:00
scheglov@google.com 321bcf58e4 Issue 7597. Use foo= when setter requested, even if there is method foo().
http://code.google.com/p/dart/issues/detail?id=7597

Language/07_Classes/3_Setters_A04_t04
Language/07_Classes/4_Abstract_Instance_Members_A02_t01
are not changed because they are part of huge list of tests which promis to don't have static type errors, but have them.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17520 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 05:15:39 +00:00
scheglov@google.com cc4b22ea10 Issue 8059. Disallow mixing in classes that use 'super' from any member.
http://code.google.com/p/dart/issues/detail?id=8059

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17518 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 01:00:29 +00:00
scheglov@google.com 1bf84876fc Issue 7598. Skip metadata when parse directives for LibraryUnit.
http://code.google.com/p/dart/issues/detail?id=7598

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17485 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 18:08:47 +00:00
scheglov@google.com 06a378f5dd Issue 7605. Check separately getters and setter implementation when check for abstratc members.
http://code.google.com/p/dart/issues/detail?id=7605

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17482 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 17:56:19 +00:00
scheglov@google.com e61663d00e Issue 7633. Report error when instance field is accessed from factory constructor.
http://code.google.com/p/dart/issues/detail?id=7633

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17479 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 17:45:41 +00:00
scheglov@google.com b1bdb27a12 Issue 7802. Fix for redundant casts.
http://code.google.com/p/dart/issues/detail?id=7802

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17476 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 17:33:57 +00:00
scheglov@google.com b806f5f3f9 Issue 7884. Use UTF-8 for output.
http://code.google.com/p/dart/issues/detail?id=7884

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17475 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 17:31:47 +00:00
scheglov@google.com 761ea9993f Issue 8025. Disallow mixing in classes that have constructors.
http://code.google.com/p/dart/issues/detail?id=8025

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17473 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 17:26:46 +00:00
scheglov@google.com 76771f343e Issue 8006. Allow abstract modifier for typedef mixin applications.
http://code.google.com/p/dart/issues/detail?id=8006

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17429 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 22:39:32 +00:00
scheglov@google.com 23bf0056b3 Issue 8022. Report compile-time error when using mixing with not Object superclass.
http://code.google.com/p/dart/issues/detail?id=8022

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17428 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 22:28:42 +00:00
scheglov@google.com 804db39323 Issue 7980. Report problem when type 'dynamic' is shadowed.
http://code.google.com/p/dart/issues/detail?id=7980

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17425 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 21:12:12 +00:00
scheglov@google.com d8d842ffe1 Issue 8038. Don't report 'is not a function type' if class has 'noSuchMethod'.
http://code.google.com/p/dart/issues/detail?id=8038

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17424 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 21:09:28 +00:00
danrubel@google.com fd96d93fa9 fix http://code.google.com/p/dart/issues/detail?id=7999
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17364 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-21 16:55:12 +00:00
messick@google.com 16310f7a09 Add support for mixins to code completion.
Review URL: https://codereview.chromium.org//11824043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16890 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 22:06:14 +00:00
scheglov@google.com 82f1c72f92 Initial support for mixins in dartc.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16864 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 17:13:02 +00:00
scheglov@google.com 954a07bf60 Switch 'default' is allowed to have fall-through
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16740 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 19:37:49 +00:00
scheglov@google.com 24b0b71035 Issue 7671. Type of field accessed using inferred type has same type quality.
http://code.google.com/p/dart/issues/detail?id=7671

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16658 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-04 22:57:32 +00:00
scheglov@google.com 63d5737d74 Issue 6578. Move 'getter/setter static mismatch' into type problems
http://code.google.com/p/dart/issues/detail?id=6578

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16650 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-04 22:12:29 +00:00
scheglov@google.com 244a18ff6a Fix for renaming named constructor reference in 'super' invocation.
R=messick@google.com,pquitslund@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16468 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-23 02:35:10 +00:00
scheglov@google.com 1b5865ea38 Fix for CCE when super() is used outside of constructor (and class at all)
From feedback error log.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16467 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-23 02:02:55 +00:00
scheglov@google.com 69eb9c8c9c Issue 7532. Fix for NPE in SemanticHighlightings
http://code.google.com/p/dart/issues/detail?id=7532

R=messick@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16465 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-22 02:02:15 +00:00
scheglov@google.com 642b8dfd3c Issue 3223. Don't report warning when call variable with not-function inferred type.
http://code.google.com/p/dart/issues/detail?id=3223

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16356 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-20 03:18:24 +00:00
devoncarew@google.com b5131437f5 Protect against concurrent modification exceptions in a new version of guava.
Review URL: https://codereview.chromium.org//11644028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16349 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-19 22:37:16 +00:00
devoncarew@google.com b2967054a7 Fix 2 failing tests on windows.
Remove 4 failing (and obsolete) tests on windows.
Enable proper reporting of junit test failures for windows.
Review URL: https://codereview.chromium.org//11638015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16333 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-19 18:21:38 +00:00
scheglov@google.com a3dcd4e8f8 Issue 7469. Report error if type appears in for extends and implements clauses
http://code.google.com/p/dart/issues/detail?id=7469

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16282 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-18 19:49:12 +00:00