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

Unified Diff: tests/compiler/dart2js/mirrors_test.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: Created 7 years, 12 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
Index: tests/compiler/dart2js/mirrors_test.dart
diff --git a/tests/compiler/dart2js/mirrors_test.dart b/tests/compiler/dart2js/mirrors_test.dart
index d80fc9fb709431acf3eb6d4e3a602ec20b3871a4..4c17a49397598e3be5d63a94b3bc256d463a5f75 100644
--- a/tests/compiler/dart2js/mirrors_test.dart
+++ b/tests/compiler/dart2js/mirrors_test.dart
@@ -38,7 +38,8 @@ main() {
var dirPath = scriptPath.directoryPath;
var libPath = dirPath.join(new Path.fromNative('../../../sdk/'));
var inputPath = dirPath.join(new Path.fromNative('mirrors_helper.dart'));
- var compilation = new Compilation.library([inputPath], libPath);
+ var compilation = new Compilation.library([inputPath], libPath, null,
+ <String>['--preserve-comments']);
Expect.isNotNull(compilation, "No compilation created");
var mirrors = compilation.mirrors;
« sdk/lib/_internal/dartdoc/lib/dartdoc.dart ('K') | « sdk/lib/mirrors/mirrors_impl.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698