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

Unified Diff: pkg/compiler/lib/src/dart_types.dart

Issue 929053005: Merge request - fixes dart2js async problems. Base URL: http://dart.googlecode.com/svn/trunk/dart/
Patch Set: Created 5 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 | « no previous file | pkg/compiler/lib/src/js/rewrite_async.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/dart_types.dart
===================================================================
--- pkg/compiler/lib/src/dart_types.dart (revision 43839)
+++ pkg/compiler/lib/src/dart_types.dart (working copy)
@@ -475,7 +475,7 @@
* Returns the type as an instance of class [other], if possible, null
* otherwise.
*/
- DartType asInstanceOf(ClassElement other) {
+ InterfaceType asInstanceOf(ClassElement other) {
other = other.declaration;
if (element == other) return this;
InterfaceType supertype = element.asInstanceOf(other);
« no previous file with comments | « no previous file | pkg/compiler/lib/src/js/rewrite_async.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698