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

Unified Diff: pkg/smoke/lib/mirrors.dart

Issue 583803002: fix toString calls on Type objects in smoke (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix typo Created 6 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 | « pkg/smoke/CHANGELOG.md ('k') | pkg/smoke/lib/static.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/smoke/lib/mirrors.dart
diff --git a/pkg/smoke/lib/mirrors.dart b/pkg/smoke/lib/mirrors.dart
index 87071c9f15edffefe0139b412de71e7cac84b59c..29742afd4bb69a9a984f362b718050d4c5082a4e 100644
--- a/pkg/smoke/lib/mirrors.dart
+++ b/pkg/smoke/lib/mirrors.dart
@@ -34,7 +34,7 @@ class ReflectiveObjectAccessorService implements ObjectAccessorService {
{Map namedArgs, bool adjust: false}) {
var receiverMirror;
var method;
- if (receiver is Type) {
+ if (receiver is Type && methodName != #toString) {
receiverMirror = reflectType(receiver);
method = receiverMirror.declarations[methodName];
} else {
« no previous file with comments | « pkg/smoke/CHANGELOG.md ('k') | pkg/smoke/lib/static.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698