dart-sdk/pkg/analyzer/test
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
..
dart Remove the 'name' constructor parameter from CompilationUnitElementImpl() 2018-09-28 21:53:24 +00:00
error Create a uniform mechanism for finding the 'pkg' directory when running tests. 2017-09-13 20:05:40 +00:00
file_system Extract PhysicalResourceProvider watch tests and mark them flaky. 2018-10-01 18:07:43 +00:00
generated Improve recovery when parsing named constructor invocation with invalid type arguments 2018-10-11 19:57:22 +00:00
instrumentation Make instrumentation data structure more regular 2017-05-18 09:09:17 -07:00
source Document that ResourceProvider requires absolute, normalized paths, and enforce this. 2018-09-28 17:18:49 +00:00
src Improve recovery when parsing named constructor invocation with invalid type arguments 2018-10-11 19:57:22 +00:00
cancelable_future_test.dart misc(pkg/analyzer): update to latest pkg:matcher API 2018-06-27 19:29:20 +00:00
embedder_tests.dart Format analyzer, analysis_server, analyzer_plugin, front_end and kernel with the latest dartfmt. 2017-07-13 16:28:18 -07:00
parse_compilation_unit_test.dart Update Analyzer AstBuilder to optionally parse function bodies 2018-05-29 18:18:56 +00:00
resource_utils.dart Remove AbsolutePathContext and use package:path instead. 2018-04-20 21:01:06 +00:00
test_all.dart Make DeclaredVariables immutable 2018-04-11 01:58:51 +00:00
utils.dart Move source.dart to package:analyzer 2018-10-03 12:56:49 +00:00