dart-sdk/pkg/analyzer/tool
Dan Rubel e4c3fa0a9c Improve recovery when parsing named constructor invocation with invalid type arguments
The parser now generates a ConstructorWithTypeArguments error and a new
handleInvalidTypeArguments event after a begin/endTypeArguments event pair
when those type arguments are in a syntatically invalid location.

For example: `new C.n<int>();` in
```
class C<T> { T f; C.n() {} }
main() { var x = new C.n<int>(); }

Most listeners handle this event by dropping the invalid type arguments,
but AstBuilder now preserves those invalid type arguments in the AST
to support better code quick-fixes/quick-assists/refactoring.

Change-Id: I5b22bd4903cd9ee3645936b9a108598b603cf9ca
Reviewed-on: https://dart-review.googlesource.com/c/79300
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Dan Rubel <danrubel@google.com>
2018-10-11 19:57:22 +00:00
..
analysis_driver Add a tool for inspecting AnalysisDriver crash logs. 2017-04-10 09:11:27 -07:00
messages Move codegen/tools.dart to package:analyzer 2018-10-03 07:41:43 +00:00
summary Improve recovery when parsing named constructor invocation with invalid type arguments 2018-10-11 19:57:22 +00:00
task_dependency_graph Move byte store to package:analyzer 2018-10-04 09:15:54 +00:00
test_log_parser Update the test output processor to produce more useful analysis 2018-07-31 21:05:31 +00:00
fasta_migration_progress.sh Fix fasta progress checking script: collect stdout from passing tests 2017-12-08 00:21:29 +00:00
generate_files Generate analyzer error codes from messages.yaml 2018-09-10 23:07:19 +00:00