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

Unified Diff: corelib/src/function.dart

Issue 10832401: Gentle start with removing explicit interfaces (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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
Index: corelib/src/function.dart
===================================================================
--- corelib/src/function.dart (revision 11079)
+++ corelib/src/function.dart (working copy)
@@ -4,5 +4,5 @@
// Dart core library.
-interface Function {
+class Function {
sra1 2012/08/21 18:31:39 This should be abstract, otherwise it enables this
regis 2012/08/21 19:13:22 I agree with Stephen.
hausner 2012/08/23 00:25:06 abstract does not prevent allocation of an instanc
sra1 2012/08/23 18:18:18 Having to write constructors like this is ridiculo
Ivan Posva 2012/08/23 18:29:14 It seems like this is mostly a discussion you shou
}

Powered by Google App Engine
This is Rietveld 408576698