Konstantin Shcheglov
75fff1fdb6
Implement completion in WithDirective.
...
R=brianwilkerson@google.com
BUG=
Review-Url: https://codereview.chromium.org/2665053004 .
2017-01-31 15:06:54 -08:00
Brian Wilkerson
0e365d8e16
Disable running analyzer_plugin tests in dart2js
...
R=whesse@google.com
Review-Url: https://codereview.chromium.org/2668143002 .
2017-01-31 14:47:40 -08:00
Konstantin Shcheglov
54c8496a38
Fix for resynthesizing invalid elements as type arguments of declared types.
...
Reproduced using Brian's stress test.
R=paulberry@google.com
BUG=
Review-Url: https://codereview.chromium.org/2662983005 .
2017-01-31 14:28:31 -08:00
pq
bcfa7e9ad2
analyzer and front_end alphas.
...
BUG=
R=brianwilkerson@google.com , paulberry@google.com
Review-Url: https://codereview.chromium.org/2661373002 .
2017-01-31 14:00:16 -08:00
Konstantin Shcheglov
17077ff2e0
Catch Uri.parse() FormatException and skip the URI.
...
You saw it, and the stress test reproduced it too.
R=brianwilkerson@google.com
BUG=
Review-Url: https://codereview.chromium.org/2664313002 .
2017-01-31 13:55:48 -08:00
Emily Fortuna
6baace1a2f
Add SuperPropertyGet.
...
BUG=https://github.com/dart-lang/sdk/issues/27394
R=sra@google.com
Review-Url: https://codereview.chromium.org/2666803002 .
2017-01-31 13:53:12 -08:00
Brian Wilkerson
81397c00aa
Add top-level driver and abstract plugin superclass
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2667823003 .
2017-01-31 13:41:56 -08:00
Paul Berry
b489ae5a5f
Simplify the API for incremental_resolved_ast_generator.
...
The use of a two-layer map will dovetail well with changes I have
planned for the AnalysisDriver.
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2665043003 .
2017-01-31 13:34:55 -08:00
Brian Wilkerson
aad0e850a2
Revert "First step toward resolving generic function types" (TBR)
...
Review-Url: https://codereview.chromium.org/2660403005 .
2017-01-31 13:10:12 -08:00
Brian Wilkerson
d8129ae0c9
Add a channel to communication with server
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2666143002 .
2017-01-31 13:07:22 -08:00
Konstantin Shcheglov
8835fe34fd
The file is a library, if it has a 'library' directive.
...
With these changes analyzer_cli with the new analysis driver can pass
the same shared tests as the AnalysisContext based analyzer_cli.
R=brianwilkerson@google.com
BUG=
Review-Url: https://codereview.chromium.org/2662363002 .
2017-01-31 13:06:55 -08:00
Konstantin Shcheglov
678021c7cf
Fix SDK partitions leak in tests.
...
R=brianwilkerson@google.com
BUG=
Review-Url: https://codereview.chromium.org/2668103002 .
2017-01-31 13:04:13 -08:00
Brian Wilkerson
95c777fe7e
Add the generator and the generated files
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2664213003 .
2017-01-31 12:36:17 -08:00
Paul Berry
acf5b16a5f
Isolate the part of AnalysisDriver that manages the AnalysisContext.
...
I re-used the existing class _LibraryContext, but moved it to its own
file and gave it a public API so that the rest of the AnalysisDriver
doesn't have to deal with the AnalysisContext directly.
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2661023005 .
2017-01-31 12:33:45 -08:00
Vijay Menon
5dffba506e
Use bleeding edge analyzer to analyze DDC
...
Note, we were getting this from building the SDK from scratch, but we
can just call it directly. :-)
Travis try-run here:
https://travis-ci.org/dart-lang/sdk/builds/197045751
R=jmesserly@google.com
Review-Url: https://codereview.chromium.org/2669623002 .
2017-01-31 12:05:37 -08:00
Konstantin Shcheglov
c55185d9d7
Fix for PartDirective annotations while applying resynthesized element model.
...
R=brianwilkerson@google.com
BUG=
Review-Url: https://codereview.chromium.org/2662173004 .
2017-01-31 11:45:03 -08:00
Konstantin Shcheglov
c74771b43d
Don't resolve FieldFormalParameter field if not in constructor.
...
R=brianwilkerson@google.com
BUG=
Review-Url: https://codereview.chromium.org/2663063004 .
2017-01-31 11:16:16 -08:00
Vijay Menon
c88a17ff55
Some test cleanup
...
These tests occasionally time out on travis. uri_test as well, but
there are two tests with that name, so I added code to disambiguate in
the logs.
R=jmesserly@google.com
Review-Url: https://codereview.chromium.org/2666593002 .
2017-01-31 10:23:26 -08:00
Vijay Menon
d5e5feb686
Shut up bad analyzer warning
...
This is a workaround for #28507
TBR=leafp@google.com
Review-Url: https://codereview.chromium.org/2667753003 .
2017-01-31 10:08:47 -08:00
Brian Wilkerson
0737b3d2be
First step toward resolving generic function types
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2654653003 .
2017-01-31 09:56:28 -08:00
Konstantin Shcheglov
b8aca22c6a
Issue 28550. Fix for resynthesizing invalid elements as declared types.
...
R=paulberry@google.com
BUG= https://github.com/dart-lang/sdk/issues/28550
Review-Url: https://codereview.chromium.org/2665013002 .
2017-01-31 09:26:31 -08:00
Konstantin Shcheglov
2a10f4bbb7
Don't resynthesize field types during class members resynthesis.
...
Invalid code might cause recursion and stack overflow.
And actually we might not need this type at all.
R=paulberry@google.com
BUG=
Review-Url: https://codereview.chromium.org/2661123002 .
2017-01-31 08:28:43 -08:00
Brian Wilkerson
fb5e367ca5
Update server generator
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2668733002 .
2017-01-31 08:26:10 -08:00
Peter von der Ahé
35d4cccd05
Remove dart2js_incremental.
...
Review-Url: https://codereview.chromium.org/2667793003 .
2017-01-31 16:32:06 +01:00
Konstantin Shcheglov
6595c05864
Actually limit number of stored exception contexts.
...
R=brianwilkerson@google.com
BUG=
Review-Url: https://codereview.chromium.org/2666003002 .
2017-01-31 07:10:39 -08:00
danrubel
663f2dc5d6
workaround failing windows test
...
Review-Url: https://codereview.chromium.org/2669513003 .
2017-01-31 09:25:15 -05:00
danrubel
da3c566869
workaround failing windows test
...
Review-Url: https://codereview.chromium.org/2662123003 .
2017-01-31 09:17:12 -05:00
Conor Reisman
80066aa2d6
Fix typo in StreamSink.close documentation ( #28572 )
...
provding -> providing.
2017-01-31 04:11:38 -08:00
Peter von der Ahé
819182a4c5
Don't ignore analyzer and dart2js when analyzing fasta.
...
R=johnniwinther@google.com
Review-Url: https://codereview.chromium.org/2646363004 .
# Conflicts:
# pkg/fasta/testing.json
2017-01-31 11:17:29 +01:00
Peter von der Ahé
011f616a58
Dynamic type error implies checked mode.
...
R=karlklose@google.com
Review-Url: https://codereview.chromium.org/2641833002 .
2017-01-31 11:16:04 +01:00
Peter von der Ahé
4570f34bc1
Implement custom status file expectations.
...
R=karlklose@google.com
Review-Url: https://codereview.chromium.org/2623413003 .
2017-01-31 11:16:04 +01:00
Peter von der Ahé
fc51d91e99
Add general method for comma separated options.
...
R=karlklose@google.com
Review-Url: https://codereview.chromium.org/2622383003 .
2017-01-31 11:16:04 +01:00
Peter von der Ahé
b33c057456
Implement multitest failure expectations.
...
R=karlklose@google.com
Review-Url: https://codereview.chromium.org/2627753005 .
2017-01-31 11:16:03 +01:00
Peter von der Ahé
a21bc26c0b
Implement multitest expectations.
...
R=karlklose@google.com
Review-Url: https://codereview.chromium.org/2626003003 .
2017-01-31 11:16:03 +01:00
Peter von der Ahé
f2faa44730
Move package:testing to SDK.
...
R=karlklose@google.com
Review-Url: https://codereview.chromium.org/2624373003 .
2017-01-31 11:16:03 +01:00
Peter von der Ahé
1be77216f1
Report problems through a method.
...
R=asgerf@google.com
Review-Url: https://codereview.chromium.org/2620133004 .
2017-01-31 11:07:13 +01:00
Peter von der Ahé
1bafcd061f
Set isSuper on accessors in no-such-method.
...
R=asgerf@google.com
Review-Url: https://codereview.chromium.org/2532573002 .
2017-01-31 11:07:13 +01:00
Peter von der Ahé
bd9d33736d
Restore verifier flags after failed verification.
...
R=asgerf@google.com
Review-Url: https://codereview.chromium.org/2614143003 .
2017-01-31 11:07:13 +01:00
Peter von der Ahé
3d4ae561f8
Print <Null> instead of crashing.
...
R=asgerf@google.com
Review-Url: https://codereview.chromium.org/2617973002 .
2017-01-31 11:07:13 +01:00
Peter von der Ahé
54062a9210
Preserve isConst when cloning.
...
R=asgerf@google.com
Review-Url: https://codereview.chromium.org/2616703006 .
2017-01-31 11:07:13 +01:00
Peter von der Ahé
eecf30e48d
Make DirectMethodInvocation a subclass of InvocationExpression.
...
R=asgerf@google.com
Review-Url: https://codereview.chromium.org/2615193003 .
2017-01-31 11:07:12 +01:00
Peter von der Ahé
5ff19ad4ff
Allow main to be null for modular tranformation.
...
R=asgerf@google.com
Review-Url: https://codereview.chromium.org/2612873005 .
2017-01-31 11:07:12 +01:00
Peter von der Ahé
caa67601ba
Print 'await' when for is async.
...
R=asgerf@google.com
Review-Url: https://codereview.chromium.org/2527253002 .
2017-01-31 11:07:12 +01:00
Peter von der Ahé
f1a306f331
Option to include redirecting factories.
...
R=asgerf@google.com
Review-Url: https://codereview.chromium.org/2617963002 .
2017-01-31 11:07:12 +01:00
Martin Kustermann
56e84a40be
VM: [Kernel] Fix checked mode issues with await/async transformer
...
R=vegorov@google.com
Review-Url: https://codereview.chromium.org/2659393002 .
2017-01-31 11:03:10 +01:00
Peter von der Ahé
750d77d96b
Only tree-shake if there's a main program.
...
R=asgerf@google.com
Review-Url: https://codereview.chromium.org/2664033003 .
2017-01-31 10:34:26 +01:00
Johnni Winther
1672873f45
Add KernelWorldBuilder and KElement model.
...
R=sigmund@google.com
Review-Url: https://codereview.chromium.org/2666553002 .
2017-01-31 10:33:35 +01:00
Johnni Winther
1275367501
Extract reusable parts of KernelAstAdapter in a mixin.
...
R=sigmund@google.com
Review-Url: https://codereview.chromium.org/2663793002 .
2017-01-31 10:12:55 +01:00
Johnni Winther
4927afc21f
Move Entity and Local to entities.dart
...
- and use entities in Name, MapLiteralUse and ListLiteralUse.
R=sigmund@google.com
Review-Url: https://codereview.chromium.org/2667473003 .
2017-01-31 10:02:18 +01:00
Johnni Winther
d743d2f2bc
Introduce ConstructorEntity
...
R=sigmund@google.com
Review-Url: https://codereview.chromium.org/2661873002 .
2017-01-31 09:56:28 +01:00