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

Unified Diff: frog/library.dart

Issue 8457007: Better runtime type checks. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: cleaner output Created 9 years, 1 month 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 | « frog/lib/num.dart ('k') | frog/member.dart » ('j') | frog/member.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/library.dart
diff --git a/frog/library.dart b/frog/library.dart
index 8dd89df66a402fef8ae21b031f9a01b9ac9bee63..fd1b4a2eac650421797f46c81d9e1ac7b7173675 100644
--- a/frog/library.dart
+++ b/frog/library.dart
@@ -114,7 +114,7 @@ class Library {
final type = new DefinedType(name, this, def, false);
type.addMethod('\$call', func);
type.members['\$call'].resolve(inType);
- // Functions should implement Function. See "Function Types" in the spec.
+ // Function types implement the Function interface.
Jennifer Messerly 2011/11/05 00:45:11 feedback from a previous CR
type.interfaces = [world.functionType];
return type;
}
« no previous file with comments | « frog/lib/num.dart ('k') | frog/member.dart » ('j') | frog/member.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698