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

Unified Diff: corelib/src/implementation/promise_implementation.dart

Issue 8786002: Check that interface constructors and default class constructors are compatible. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Check that types of constructors parameters are identical Created 9 years 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/implementation/promise_implementation.dart
diff --git a/corelib/src/implementation/promise_implementation.dart b/corelib/src/implementation/promise_implementation.dart
index 7d7431c9d5a3e02e32a3270c1d3873881fc7176c..64e58d4aff9f0544556169ff5a49844a63241c71 100644
--- a/corelib/src/implementation/promise_implementation.dart
+++ b/corelib/src/implementation/promise_implementation.dart
@@ -45,7 +45,7 @@ class PromiseImpl<T> implements Promise<T> {
_errorListeners = null,
_cancelListeners = null {}
- PromiseImpl.fromValue(val)
+ PromiseImpl.fromValue(T val)
: _state = COMPLETE_NORMAL,
_value = val,
_error = null,

Powered by Google App Engine
This is Rietveld 408576698