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

Unified Diff: dart/frog/leg/typechecker.dart

Issue 9447100: Return null from stringValue and call slowToString() instead of toString(). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: changes Created 8 years, 10 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 | « dart/frog/leg/tree/nodes.dart ('k') | dart/frog/leg/universe.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/leg/typechecker.dart
diff --git a/dart/frog/leg/typechecker.dart b/dart/frog/leg/typechecker.dart
index 52b39c5919df295c6ec1c45d19e4f58c1b931958..161851385ac9b513e5912d91009c0380ea9bc734 100644
--- a/dart/frog/leg/typechecker.dart
+++ b/dart/frog/leg/typechecker.dart
@@ -58,7 +58,7 @@ class SimpleType implements Type {
const SimpleType(SourceString this.name, Element this.element);
- String toString() => name.toString();
+ String toString() => name.slowToString();
}
class FunctionType implements Type {
« no previous file with comments | « dart/frog/leg/tree/nodes.dart ('k') | dart/frog/leg/universe.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698