Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Unified Diff: pkg/analyzer/test/generated/incremental_resolver_test.dart

Issue 764493002: Incremental improvements in the matcher. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/generated/incremental_resolver.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/incremental_resolver_test.dart
diff --git a/pkg/analyzer/test/generated/incremental_resolver_test.dart b/pkg/analyzer/test/generated/incremental_resolver_test.dart
index 15086b85d56de937fe98032836334a2af05b1e63..c4bd3e8ec1fd7a9cdc0f946d326edec9177691ec 100644
--- a/pkg/analyzer/test/generated/incremental_resolver_test.dart
+++ b/pkg/analyzer/test/generated/incremental_resolver_test.dart
@@ -1047,6 +1047,26 @@ class A<T> {}
''');
}
+ void test_true_classMemberAccessor_getterSetter() {
+ _assertCompilationUnitMatches(true, r'''
+class A {
+ int _test;
+ get test => _test;
+ set test(v) {
+ _test = v;
+ }
+}
+''', r'''
+class A {
+ int _test;
+ get test => _test;
+ set test(v) {
+ _test = v;
+ }
+}
+''');
+ }
+
void test_true_classMemberAccessor_list_reorder() {
_assertCompilationUnitMatches(true, r'''
class A {
@@ -1600,6 +1620,16 @@ dynamic a() {}
''');
}
+ void test_true_type_hasImportPrefix() {
+ _assertCompilationUnitMatches(true, r'''
+import 'dart:async' as async;
+async.Future F;
+''', r'''
+import 'dart:async' as async;
+async.Future F;
+''');
+ }
+
void test_true_type_noTypeArguments_implyAllDynamic() {
_assertCompilationUnitMatches(true, r'''
class A<T> {}
« no previous file with comments | « pkg/analyzer/lib/src/generated/incremental_resolver.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698