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

Unified Diff: pkg/smoke/test/common.dart

Issue 306993002: smoke: support named argument in annotations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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/smoke/test/codegen/recorder_test.dart ('k') | pkg/smoke/test/static_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/smoke/test/common.dart
diff --git a/pkg/smoke/test/common.dart b/pkg/smoke/test/common.dart
index eaffd2584c762494ba3f053d16f988e6d5e9f62d..f8ce624f235c4c494f876b528890d715368832a9 100644
--- a/pkg/smoke/test/common.dart
+++ b/pkg/smoke/test/common.dart
@@ -370,6 +370,7 @@ class F2 extends F {}
class Annot { const Annot(); }
class AnnotB extends Annot { const AnnotB(); }
+class AnnotC { const AnnotC({bool named: false}); }
const a1 = const Annot();
const a2 = 32;
const a3 = const AnnotB();
@@ -389,3 +390,8 @@ class H extends G {
@a2 int h;
@a3 int i;
}
+
+class K {
+ @AnnotC(named: true) int k;
+ @AnnotC() int k2;
+}
« no previous file with comments | « pkg/smoke/test/codegen/recorder_test.dart ('k') | pkg/smoke/test/static_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698