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

Unified Diff: pkg/docgen/test/single_library_test.dart

Issue 63483002: Fix some users of removed mirror API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
Index: pkg/docgen/test/single_library_test.dart
diff --git a/pkg/docgen/test/single_library_test.dart b/pkg/docgen/test/single_library_test.dart
index f5e53d31632647c686f0653398f805282e86a1a2..d579af4bd0df3c18556252e7bfd1f5a1f1d101a7 100644
--- a/pkg/docgen/test/single_library_test.dart
+++ b/pkg/docgen/test/single_library_test.dart
@@ -115,7 +115,7 @@ main() {
expect(classDocComment == 'test.A', isTrue);
// Test for linking to parameter [A]
- var methodMirror = classMirror.methods['doThis'];
+ var methodMirror = classMirror.declarations['doThis'];
gbracha 2013/11/07 00:09:11 #doThis?
rmacnak 2013/11/07 00:18:29 Actually, undoing this change. These aren't dart:m
var methodParameterDocComment = fixReference('A', libraryMirror,
classMirror, methodMirror).children.first.text;
// TODO(alanknight) : We're not supporting linking to parameters yet

Powered by Google App Engine
This is Rietveld 408576698