scheglov@google.com
2c09d62b3f
Issue 3251. Fixes for node type
...
http://code.google.com/p/dart/issues/detail?id=3251
R=brianwilkerson@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10449038
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8064 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 15:16:58 +00:00
keertip@google.com
916be0f459
fix to support package: scheme
...
Review URL: http://codereview.chromium.org//10442037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8013 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-25 19:55:07 +00:00
scheglov@google.com
421bf66a40
Issue 3209. Mark assignment to final field as error
...
http://code.google.com/p/dart/issues/detail?id=3209
R=brianwilkerson@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10442018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7972 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-25 00:33:56 +00:00
scheglov@google.com
6a5f143243
More getter fixes
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7963 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-24 21:36:57 +00:00
scheglov@google.com
ba6b68d65d
Fix for getter access expression type
...
R=brianwilkerson@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10450015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7960 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-24 18:58:03 +00:00
keertip@google.com
c52fb82f4e
fix an issue with uri's
...
Review URL: http://codereview.chromium.org//10429009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7949 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-24 15:23:15 +00:00
scheglov@google.com
e3831f1488
Use most specific inferred type, or fall back to Dynamic
...
R=messick@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10434008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7937 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-24 01:24:02 +00:00
scheglov@google.com
9c2e925901
Resolve operators to int/double instead of num where possible
...
R=messick@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10425002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7933 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-23 22:42:45 +00:00
scheglov@google.com
ef9322bf15
Type inference in if, while, for and for-in statements
...
R=messick@google.com ,brianwilkerson@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10417044
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7914 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-23 16:33:40 +00:00
scheglov@google.com
511a8bf94b
Attempt to fix build
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7840 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-22 02:40:06 +00:00
scheglov@google.com
00d2b5c654
Propagate variable type in TypeAnalyzer
...
Don't re-resolve in CompletionEngine to keep propagated types.
R=brianwilkerson@google.com ,messick@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10413041
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7838 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-22 01:01:26 +00:00
scheglov@google.com
3b1297dcc7
Issue 3067. When we check getter/setter compatibility, we should compare propagated type variables.
...
http://code.google.com/p/dart/issues/detail?id=3067
R=brianwilkerson@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10383251
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7763 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-18 21:11:07 +00:00
scheglov@google.com
eae9094dbf
Issue 3123. Catch exceptions in Source.exists()/initProperties()
...
http://code.google.com/p/dart/issues/detail?id=3123
R=brianwilkerson@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10389206
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7754 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-18 17:22:37 +00:00
scheglov@google.com
76d9238a3a
Fix for double getter int for-each
...
R=brianwilkerson@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10389204
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7750 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-18 16:31:32 +00:00
keertip@google.com
98bb9e8526
add support for package: to the editor
...
Review URL: http://codereview.chromium.org//10377181
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7744 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-18 15:32:13 +00:00
jwren@google.com
054d8ca0df
Initial new file FileUtils with a single public static method.
...
Review URL: https://chromiumcodereview.appspot.com//10386121
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7625 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-14 20:26:58 +00:00
danrubel@google.com
5dbfe5026d
Update analysis server and indexer
...
Review URL: https://chromiumcodereview.appspot.com//10391092
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7591 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-13 21:50:34 +00:00
scheglov@google.com
d206634e9d
Initial support for 'Extract temp' - only when single expression selected
...
Actually, already can be useful.
For example to extract single argument of invocation into variable.
R=messick@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10384142
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7590 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-13 05:10:41 +00:00
vsm@google.com
9be4ac00ed
Move dart:dom to dart:dom_deprecated
...
Brian: Can you please look at the editor / dartc changes?
Bob: Can you look at the apidoc changes?
Stephen/Pavel: Can you guys look at the rest?
Pavel: I will update, test, and land your Dartium CL along with this change.
Review URL: https://chromiumcodereview.appspot.com//10389097
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7587 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-13 04:10:43 +00:00
danrubel@google.com
5b2e8281a9
Cache unresolved units separately from libraries
...
Review URL: https://chromiumcodereview.appspot.com//10389074
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7527 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-11 01:24:17 +00:00
scheglov@google.com
0eed8e5409
Support for renaming getters and setters
...
R=brianwilkerson@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10381080
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7492 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-10 15:11:33 +00:00
messick@google.com
f2ae251f9e
Code completion improvements.
...
Fixes a number of bugs, including support for library prefixes.
Cleans up the code in a few places.
Removes many warnings, bringing the total to below 1000.
Review URL: https://chromiumcodereview.appspot.com//10379012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7349 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-04 21:28:05 +00:00
brianwilkerson@google.com
2fbdbde9b9
Change resolution of fields to resolve to getters and setters. This allows inherited getters and setters to be correctly resolved.
...
Review URL: https://chromiumcodereview.appspot.com//10338004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7257 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 21:31:24 +00:00
brianwilkerson@google.com
45a58a6f74
Copy identifier names so that we don't hold on to the original source. If I'm reading the results right, this saves a significant amount of space.
...
Review URL: https://chromiumcodereview.appspot.com//10339002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7256 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 21:31:01 +00:00
brianwilkerson@google.com
f47446c473
Improve memory efficiency by not creating empty lists
...
Review URL: https://chromiumcodereview.appspot.com//10271033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7198 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-01 18:08:05 +00:00
danrubel@google.com
ea52cb33d7
Fix DartC NPE
...
Review URL: https://chromiumcodereview.appspot.com//10266004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7141 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-29 19:20:49 +00:00
scheglov@google.com
85c5ba16b5
Add the most useful Apache Commons utils
...
R=brianwilkerson@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10236009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7049 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 22:59:32 +00:00
brianwilkerson@google.com
0c72e4194e
Fix a bug that caused private names from an imported library to be included in the name scope of the importing library (issue 2651)
...
Review URL: https://chromiumcodereview.appspot.com//10134035
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6908 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-24 18:47:33 +00:00
scheglov@google.com
820ae0a56d
Prevent infinite recursion
...
http://code.google.com/p/dart/issues/detail?id=2702
Can not reproduce however.
R=brianwilkerson@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10140009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6880 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-24 14:02:21 +00:00
scheglov@google.com
c937e8b6e0
Issue 2693. Don't add null imports
...
http://code.google.com/p/dart/issues/detail?id=2693
R=brianwilkerson@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10200005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6866 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-24 00:19:03 +00:00
scheglov@google.com
11d4d91b23
Report warnings and non-fatal errors for shadowing declaration and usage.
...
Fix for Type references in declaration.
Make Back a default button if there is Error in refactoring status.
R=messick@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10162026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6859 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-23 19:57:12 +00:00
danrubel@google.com
eb17b63eb0
Update AnalysisServer to preserve DartC import prefixes
...
Review URL: https://chromiumcodereview.appspot.com//10174004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6853 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-23 18:19:53 +00:00
scheglov@google.com
8b0805f08e
Support for same prefix for multiple imports.
...
R=zundel@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10139017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6819 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-21 01:35:40 +00:00
scheglov@google.com
42c3daeb88
Issue 2639. Resolve implicit super() constructor invocation.
...
http://code.google.com/p/dart/issues/detail?id=2639
R=devoncarew@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10116032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6719 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-19 01:02:10 +00:00
brianwilkerson@google.com
cf0cedfdda
Fix for issue 2569
...
Review URL: https://chromiumcodereview.appspot.com//10066047
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6638 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-17 13:38:19 +00:00
zundel@google.com
9965d546ab
Another case of creating from factory constructors was not taken into account in r6619
...
http://code.google.com/p/dart/issues/detail?id=2282
Review URL: https://chromiumcodereview.appspot.com//10108014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6636 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-17 13:36:14 +00:00
zundel@google.com
082190545e
Remove warning for using a factory constructor on an abstract class.
...
http://code.google.com/p/dart/issues/detail?id=2282
Review URL: https://chromiumcodereview.appspot.com//10106016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6619 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-17 09:30:21 +00:00
scheglov@google.com
310487fec0
Fix for parsing qualified type in for-in
...
R=devoncarew@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10097021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6598 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-16 18:27:32 +00:00
zundel@google.com
6115c5e824
Revert "Moves the 'import_*.config' files in dart-sdk into a new directory"
...
Review URL: https://chromiumcodereview.appspot.com//10083015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6545 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-13 23:02:36 +00:00
zundel@google.com
2ebe9b35b7
Moves the 'import_*.config' files in dart-sdk into a new directory
...
These files are used by the static analyzer and editor to target
different implementations of the system library.
This change moves these files from lib/config to lib/_internal/config so
that there will be no confusion that these might be intended to
be dart system library files.
http://code.google.com/p/dart/issues/detail?id=2510
Review URL: https://chromiumcodereview.appspot.com//9998005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6543 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-13 22:17:48 +00:00
danrubel@google.com
1c9c439a52
prevent cached DartUnit from being referenced and resolved by multiple libraries
...
Review URL: https://chromiumcodereview.appspot.com//10066020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6470 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-12 20:00:00 +00:00
zundel@google.com
c8166f9f01
Got rid of peculiar null literal in parsing an incomplete new expression.
...
Review URL: https://chromiumcodereview.appspot.com//10069022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6469 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-12 19:35:51 +00:00
zundel@google.com
9ff833160b
Adds parser recovery at the statement level for unterminated statements (no semicolon)
...
this change will allow the parser to recover when it sees the start
of a new statement after an invalid token. All 24 of these new test
cases failed in the state the code right before this change, so
I'm hoping this will make a significant improvement in the quality of
the AST created and therefore code completion.
Review URL: https://chromiumcodereview.appspot.com//10068008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6463 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-12 14:26:50 +00:00
zundel@google.com
e54d389410
Fix flaxy test issue for analysis parser found in r6414
...
http://code.google.com/p/dart/source/detail?r=6414
Review URL: https://chromiumcodereview.appspot.com//10069006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6462 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-12 13:44:20 +00:00
zundel@google.com
97925a7d68
Adds parser recovery to the class right brace and handles stray semicolons in a class
...
I modified 'expectCloseBrace()' to not be so greedy of no opening brace
was ever seen.
Review URL: https://chromiumcodereview.appspot.com//10020008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6370 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 17:03:50 +00:00
zundel@google.com
a16e4b0eeb
Adds parser recovery for type parameters and type arguments
...
Note that this un-does part of a previous change for parser recovery.
http://codereview.chromium.org/8576007/
The resulting AST seems more complete in the test cases I came up
with.
Review URL: https://chromiumcodereview.appspot.com//10021017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6364 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 15:49:28 +00:00
zundel@google.com
08d912226a
Adds more parser recovery to '#' directives
...
Review URL: https://chromiumcodereview.appspot.com//10019010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6335 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-09 18:57:16 +00:00
zundel@google.com
caeaafbaf3
Revert "Adds parser recovery to the class right brace and handles stray semicolons in a class"
...
Breaks completion tests in the editor.
Review URL: https://chromiumcodereview.appspot.com//10020022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6325 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-09 15:19:50 +00:00
zundel@google.com
5845cd3db1
Adds parser recovery to the class right brace and handles stray semicolons in a class
...
I modified 'expectCloseBrace()' to not be so greedy of no opening brace
was ever seen.
Review URL: https://chromiumcodereview.appspot.com//10020008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6324 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-09 14:57:19 +00:00
zundel@google.com
43b2154b54
Fixes warnings and formatting issues in some dartc files
...
After these changes, I have no more warnings printed in Eclipse.
Review URL: https://chromiumcodereview.appspot.com//10027003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6321 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-09 14:05:05 +00:00