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

Unified Diff: tests/compiler/dart2js/mirrors_helper.dart

Issue 11726005: Dartdoc comments retrieved as metadata through dart2js mirrors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 7 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 | « sdk/lib/mirrors/mirrors_impl.dart ('k') | tests/compiler/dart2js/mirrors_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/mirrors_helper.dart
diff --git a/tests/compiler/dart2js/mirrors_helper.dart b/tests/compiler/dart2js/mirrors_helper.dart
index 52d9bb9cf82669e56b43729e329de101e56cd00a..1fb7ab3ac23cba7c60d3095a05a80db997e702c8 100644
--- a/tests/compiler/dart2js/mirrors_helper.dart
+++ b/tests/compiler/dart2js/mirrors_helper.dart
@@ -14,7 +14,10 @@ main() {
}
+/// Singleline doc comment.
@Metadata // This is intentionally the type literal.
+// Singleline comment 1.
+// Singleline comment 2.
@Metadata(null)
@Metadata(true)
@Metadata(false)
@@ -24,10 +27,12 @@ main() {
@Metadata(const ["Foo"])
@Metadata(const {'foo':"Foo"})
@metadata
-class Foo {
+/** Multiline doc comment. */
+/* Multiline comment. */ class Foo {
}
+
abstract class Bar<E> {
}
« no previous file with comments | « sdk/lib/mirrors/mirrors_impl.dart ('k') | tests/compiler/dart2js/mirrors_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698