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

Unified Diff: pkg/analysis_server/test/services/completion/dart/optype_test.dart

Issue 2665053004: Implement completion in WithDirective. (Closed)
Patch Set: Created 3 years, 11 months 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/analysis_server/test/completion_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/services/completion/dart/optype_test.dart
diff --git a/pkg/analysis_server/test/services/completion/dart/optype_test.dart b/pkg/analysis_server/test/services/completion/dart/optype_test.dart
index 17cf6c41ab707ace27e56021e5caddf9b4d06679..0df0f1bbe53a63466a1a0838281c2519fbfb930e 100644
--- a/pkg/analysis_server/test/services/completion/dart/optype_test.dart
+++ b/pkg/analysis_server/test/services/completion/dart/optype_test.dart
@@ -1558,6 +1558,12 @@ class C2 {
addTestSource('mth() { while (b^) {} }}');
assertOpType(returnValue: true, typeNames: true);
}
+
+ test_WithClause() {
+ // WithClause ClassDeclaration
+ addTestSource('class x extends Object with ^\n{}');
+ assertOpType(typeNames: true);
+ }
}
class _TestSource implements Source {
« no previous file with comments | « pkg/analysis_server/test/completion_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698