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

Unified Diff: tests/lib/mirrors/mirrors_test.dart

Issue 23890036: Change return type of get typeVariables and typeArguments in ClassMirror. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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/lib/mirrors/mirrors_test.dart
diff --git a/tests/lib/mirrors/mirrors_test.dart b/tests/lib/mirrors/mirrors_test.dart
index df1f9b055c683782cd69e9c4d34f772a894c76da..b86acd694494ce52a809c4e127fed93709114c41 100644
--- a/tests/lib/mirrors/mirrors_test.dart
+++ b/tests/lib/mirrors/mirrors_test.dart
@@ -45,7 +45,7 @@ testInvoke(mirrors) {
equals("DNU"));
expect(instMirror.invoke(const Symbol("m"), []).reflectee,
equals("DNU")); // Wrong arity.
- // TODO(rmacnak): Implement access to private members.
+ // TODO(rmacnak): Implement access to private members.
// expect(instMirror.invoke(const Symbol("_n"), [3, 4]).reflectee,
// equals(7));
@@ -240,7 +240,7 @@ testNames(mirrors) {
expect(classMirror.qualifiedName, equals(const Symbol('MirrorsTest.Class')));
if (!isDart2js) { // TODO(ahe): Implement this in dart2js.
- TypeVariableMirror typeVariable = classMirror.typeVariables.values.single;
+ TypeVariableMirror typeVariable = classMirror.typeVariables.single;
expect(typeVariable.simpleName, equals(const Symbol('T')));
expect(typeVariable.qualifiedName,
equals(const Symbol('MirrorsTest.Class.T')));

Powered by Google App Engine
This is Rietveld 408576698