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

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: Addressed comments. 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
« no previous file with comments | « tests/lib/mirrors/generics_test.dart ('k') | tests/lib/mirrors/typevariable_mirror_metadata_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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')));
« no previous file with comments | « tests/lib/mirrors/generics_test.dart ('k') | tests/lib/mirrors/typevariable_mirror_metadata_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698