scheglov@google.com
da10523b14
Issue 6077. warn when importing dart:mirrors
...
http://code.google.com/p/dart/issues/detail?id=6077
R=danrubel@google.com
BUG=
Review URL: https://codereview.chromium.org//11225007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13845 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-19 23:11:29 +00:00
scheglov@google.com
4536b28631
Infer function expression parameter types what it is assigned to element with known type
...
R=messick@google.com
BUG=
Review URL: https://codereview.chromium.org//11140011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13783 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-18 15:15:27 +00:00
brianwilkerson@google.com
17db9490a9
Add an error for obsolete raw strings (issue 4815)
...
Review URL: https://codereview.chromium.org//11196025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13780 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-18 15:04:11 +00:00
brianwilkerson@google.com
1eef063b98
Fix to parsing of conditional expressions
...
Review URL: https://codereview.chromium.org//11183031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13779 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-18 14:50:03 +00:00
scheglov@google.com
80b4b718ed
Issue 5929. Ignore 'patch' before 'class'.
...
http://code.google.com/p/dart/issues/detail?id=5929
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//11194017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13713 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-16 23:57:34 +00:00
scheglov@google.com
95bd9037c8
Issue 5735. Fix for 'export' without 'import'
...
http://code.google.com/p/dart/issues/detail?id=5735
Partial fix, only for "export" without "import".
There are also problem with this test.
R=danrubel@google.com
BUG=
Review URL: https://codereview.chromium.org//11110006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13621 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-12 13:54:09 +00:00
scheglov@google.com
852affba1e
Report ~/ warning only when both arguments are integers
...
R=messick@google.com
BUG=
Review URL: https://codereview.chromium.org//11028139
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13556 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-11 16:36:22 +00:00
scheglov@google.com
a1f8e0080e
Lower ~/ priority from WARNING to INFO
...
R=devoncarew@google.com
BUG=
Review URL: https://codereview.chromium.org//11088059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13499 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 20:46:46 +00:00
scheglov@google.com
4c0b34b5fe
Issue 5652. Suggest to use effective integer division ~/, warning and Quick Fix.
...
http://code.google.com/p/dart/issues/detail?id=5652
R=messick@google.com
BUG=
Review URL: https://codereview.chromium.org//11087018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13385 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 00:15:38 +00:00
scheglov@google.com
8dbff1e87c
Ignore 'dart-ext:' scheme, allow 'native' in such files
...
R=danrubel@google.com
BUG=
Review URL: https://codereview.chromium.org//11088009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13371 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-08 20:15:24 +00:00
scheglov@google.com
bf3c4d2f68
Issue 5719. There are no warning for operator-() and numberic return anymore.
...
http://code.google.com/p/dart/issues/detail?id=5719
R=danrubel@google.com
BUG=
Review URL: https://codereview.chromium.org//11095003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13370 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-08 20:14:00 +00:00
scheglov@google.com
af60488eb5
Fix for cascade sections SourceInfo
...
Invocation and property access now start at "..", not at start or its real target.
R=messick@google.com
BUG=
Review URL: https://codereview.chromium.org//11029037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13267 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 22:29:29 +00:00
scheglov@google.com
17fc654178
Issue 5628. Quick fixes should suggest to use existing element with close name
...
http://code.google.com/p/dart/issues/detail?id=5628
R=messick@google.com
BUG=
Review URL: https://codereview.chromium.org//11066004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13259 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 21:13:31 +00:00
scheglov@google.com
3368bdbd40
Issue 5621. Fix for infinite cycle during incomplete switch parsing
...
http://code.google.com/p/dart/issues/detail?id=5621
So, now analyzis as you type updates problems in this file much faster.
R=danrubel@google.com
BUG=
Review URL: https://codereview.chromium.org//11060014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13206 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-03 23:16:27 +00:00
scheglov@google.com
29b8826485
Issue 5508. Fix for parsing cascade after conditional expression
...
http://code.google.com/p/dart/issues/detail?id=5508
R=messick@google.com
BUG=
Review URL: https://codereview.chromium.org//11048021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13195 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-03 20:15:09 +00:00
scheglov@google.com
2f0b901b44
Fix for field resolution for cascade, tests for ensure this
...
R=messick@google.com
BUG=
Review URL: https://codereview.chromium.org//11043024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13194 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-03 20:14:25 +00:00
scheglov@google.com
c3fc4e987a
Issue 5588. Don't report errors when preProcessLibraryDirectives()
...
http://code.google.com/p/dart/issues/detail?id=5588
We will report same errors when we will make complete parsing.
R=messick@google.com
BUG=
Review URL: https://codereview.chromium.org//11048013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13182 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-03 16:16:48 +00:00
danrubel@google.com
6b5bddecb9
Fix NPT when visiting qualifier in property access
...
Review URL: https://codereview.chromium.org//11037010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13094 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 00:48:36 +00:00
brianwilkerson@google.com
fddbc47bc0
Minor bug fix
...
Review URL: https://codereview.chromium.org//11034012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13087 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-01 21:40:59 +00:00
pquitslund@google.com
be83083ccd
Dart analyzer fixes to improve pluggability.
...
More fixes in the service of supporting analysis of resources that are non-resident. Notably a pluggable UrlLibrarySource and a repurposable SystemLibrariesReader.
NOTE (API Change): SystemLibraryProvider is now an abstract class, suitable for client customization.
Review URL: https://codereview.chromium.org//11027006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13084 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-01 20:15:30 +00:00
brianwilkerson@google.com
6d1d55c743
Report error for non-const map literals used as statements (issue 5299)
...
Review URL: https://codereview.chromium.org//11000054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13041 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 22:03:21 +00:00
brianwilkerson@google.com
8855e8143b
Additional fixes for cascades (issue 5146)
...
Review URL: https://codereview.chromium.org//10986095
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13039 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 20:07:33 +00:00
scheglov@google.com
112281a50e
Issue 3968. Report error if cycle in redirecting factory constructors
...
http://code.google.com/p/dart/issues/detail?id=3968
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//10983089
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13036 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 18:20:57 +00:00
brianwilkerson@google.com
c45dd539f6
Remove support for impossible AST structure (and a couple of warnings)
...
Review URL: https://codereview.chromium.org//10984093
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13035 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 18:07:12 +00:00
brianwilkerson@google.com
27c9cf7158
Report escaped newlines in string literals (issue 5296)
...
Review URL: https://codereview.chromium.org//10979081
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13031 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 17:29:17 +00:00
pquitslund@google.com
fa6bafbcc0
Fix to exclude patch files from search results (dartbug.com/5492).
...
Review URL: https://codereview.chromium.org//10984082
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13029 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 16:59:31 +00:00
brianwilkerson@google.com
c7d232b840
Fix the build
...
Review URL: https://codereview.chromium.org//10977081
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13024 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 16:03:31 +00:00
brianwilkerson@google.com
4d6452145c
First step toward fixing cascades (issue 5062)
...
Review URL: https://codereview.chromium.org//10984081
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13023 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 14:53:12 +00:00
scheglov@google.com
dd0a0b39d8
Issue 5350. Type variable should be accessible in instance field
...
http://code.google.com/p/dart/issues/detail?id=5350
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//10991064
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12988 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 00:17:59 +00:00
pquitslund@google.com
6ad979ab73
Virtual filesystem support for dart_analyzer.
...
Review URL: https://codereview.chromium.org//10986073
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12983 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 21:50:58 +00:00
scheglov@google.com
a7a4a4411f
Issue 5447. Wern when concrete class has unimplemented members
...
http://code.google.com/p/dart/issues/detail?id=5447
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//10987076
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12977 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 18:01:10 +00:00
brianwilkerson@google.com
c1be0e7612
Parse and report error for const parameters (issue 5289)
...
Review URL: https://codereview.chromium.org//10990086
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12971 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 16:34:03 +00:00
scheglov@google.com
344cc4b415
Quick fixes 'Create class' and 'Create constructor'
...
http://code.google.com/p/dart/issues/detail?id=5325
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//10996036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12953 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 12:46:07 +00:00
scheglov@google.com
c67487ccd6
Fix for NPE with StringLiteral in toString()
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//10990074
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12940 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 04:06:14 +00:00
scheglov@google.com
16996b9fdb
Tweaks for @deprecated and @override presentation
...
R=brianwilkerson@google.com ,devoncarew@google.com
BUG=
Review URL: https://codereview.chromium.org//10984033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12901 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 11:52:23 +00:00
scheglov@google.com
ef41e134fe
Issue 5255. Override setter-only field with instance variable
...
http://code.google.com/p/dart/issues/detail?id=5255
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//10986033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12880 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 20:43:14 +00:00
scheglov@google.com
4eb06ae32b
Issue 5440. Fixes for exceptions during resolving
...
http://code.google.com/p/dart/issues/detail?id=5440
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//10986026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12864 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 18:10:21 +00:00
scheglov@google.com
7f8731cb50
Issue 5292. Unreferenced imported identifiers should not be an error
...
http://code.google.com/p/dart/issues/detail?id=5292
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//10979013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12847 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 16:34:48 +00:00
scheglov@google.com
1d60036e44
Issue 5327. Fix for invalid 'instantiation of a class with the inherited abstract members'
...
http://code.google.com/p/dart/issues/detail?id=5327
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//10962047
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12753 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-22 19:01:02 +00:00
scheglov@google.com
082dd8cc31
Issue 5302. Type alias type parameters should not conflict with formal parameters
...
http://code.google.com/p/dart/issues/detail?id=5302
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//10961058
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12752 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-22 18:56:40 +00:00
scheglov@google.com
018d23bb22
Issue 5295. Reference to undefined static setter should be a warning not an error
...
http://code.google.com/p/dart/issues/detail?id=5295
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//10966047
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12751 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-22 18:54:38 +00:00
brianwilkerson@google.com
48b5aa8f60
Allow static fields without types (issue 5149)
...
Review URL: https://codereview.chromium.org//10957040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12720 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 16:14:27 +00:00
scheglov@google.com
c0a0b5db5e
Issue 5293. Invocation of an undefined static method should be a warning, not an error
...
http://code.google.com/p/dart/issues/detail?id=5293
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//10963028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12716 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 15:06:21 +00:00
scheglov@google.com
4792aeac49
Issue 5255. Remember 'overridden' for getters/setters and fields
...
http://code.google.com/p/dart/issues/detail?id=5255
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//10961038
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12714 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 14:43:16 +00:00
scheglov@google.com
d6a06d9070
Issue 5240. Using a non-type in a const object expression is an error, not a warning
...
http://code.google.com/p/dart/issues/detail?id=5240
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//10970024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12711 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 14:14:03 +00:00
scheglov@google.com
51adcdda3b
Fixes for raw string and block clean ups
...
R=danrubel@google.com
BUG=
Review URL: https://codereview.chromium.org//10962014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12709 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 14:11:51 +00:00
scheglov@google.com
3c4080aff2
Issue 5163. Constructor/member name conflict should be error
...
http://code.google.com/p/dart/issues/detail?id=5163
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//10969024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12660 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-20 21:31:09 +00:00
pquitslund@google.com
1999601afd
"No SDK, No Problem!" (take 2)
...
When there's no SDK,
* don't start the analysis server
* or the indexer
* and don't try and constitute the dart model
(NOTE: this addresses the issue where we have no SDK on initial plugin install.)
Review URL: https://codereview.chromium.org//10960002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12647 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-20 17:18:44 +00:00
brianwilkerson@google.com
48b7ae58bd
Preparation for reporting an error for deprecated raw strings (issue 4815)
...
Review URL: https://codereview.chromium.org//10941052
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12643 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-20 14:46:27 +00:00
scheglov@google.com
c78a9cf2cd
Clean up to migrate parseInt() and parseDouble() to int.parse() and double.parse()
...
R=messick@google.com
BUG=
Review URL: https://codereview.chromium.org//10959006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12641 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-20 14:29:56 +00:00