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

Unified Diff: sdk/lib/_internal/compiler/implementation/js_backend/backend.dart

Issue 13084013: Handle assignability for Send and SendSet (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Debug code removed. Created 7 years, 7 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: sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart b/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
index 7572858023d04067730c447ee0294b2ca9e8ecbe..ae6e02541fe8ab14972ef5117bbbb0b1ffcedfda 100644
--- a/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
@@ -1198,6 +1198,8 @@ class JavaScriptBackend extends Backend {
void registerTypeLiteral(TreeElements elements) {
enqueueInResolution(getCreateRuntimeType(), elements);
+ compiler.enqueuer.resolution.registerInstantiatedClass(
+ compiler.typeClass, elements);
}
void registerStackTraceInCatch(TreeElements elements) {

Powered by Google App Engine
This is Rietveld 408576698