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

Unified Diff: pkg/smoke/lib/static.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/lib/mirrors.dart ('k') | pkg/smoke/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/smoke/lib/static.dart
diff --git a/pkg/smoke/lib/static.dart b/pkg/smoke/lib/static.dart
index f7f74286974c8b5c24262934cbe34662b5f12f8a..33f25da6deb08839b1f9d92372951bcf661a9f65 100644
--- a/pkg/smoke/lib/static.dart
+++ b/pkg/smoke/lib/static.dart
@@ -116,7 +116,7 @@ class GeneratedObjectAccessorService implements ObjectAccessorService {
invoke(object, Symbol name, List args, {Map namedArgs, bool adjust: false}) {
var method;
- if (object is Type) {
+ if (object is Type && name != #toString) {
var classMethods = _staticMethods[object];
method = classMethods == null ? null : classMethods[name];
} else {
« no previous file with comments | « pkg/smoke/lib/mirrors.dart ('k') | pkg/smoke/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698