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

Unified Diff: frog/leg/util/link_implementation.dart

Issue 8540013: Giving up on the change to report errors with factories and generic types. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' 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 | « no previous file | runtime/vm/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/leg/util/link_implementation.dart
===================================================================
--- frog/leg/util/link_implementation.dart (revision 1468)
+++ frog/leg/util/link_implementation.dart (working copy)
@@ -2,10 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// TODO(regis): Move type parameter <T> from the class declaration to the
-// factory declarations after the new factory syntax is implemented.
-// See issues 226, 5257789, 5408808.
-class LinkFactory<T> {
+class LinkFactory {
factory Link(head, [Link tail]) {
return new LinkEntry(head, (tail === null) ? const LinkTail() : tail);
}
« no previous file with comments | « no previous file | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698