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

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

Issue 13642002: Make sure required type arguments are given when using factories. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 7 years, 8 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/emitter.dart
diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart b/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart
index 1a25d7328ffb7b32e8c73a03e89a8ffd9d40b62c..b2ad0686849ba4ab0dd2c63c6b335a1026f6048b 100644
--- a/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart
@@ -142,7 +142,8 @@ class CodeEmitterTask extends CompilerTask {
void computeRequiredTypeChecks() {
assert(checkedClasses == null && checkedTypedefs == null);
- compiler.codegenWorld.addImplicitChecks(classesUsingTypeVariableTests);
+ backend.rti.addImplicitChecks(compiler.codegenWorld,
+ classesUsingTypeVariableTests);
checkedClasses = new Set<ClassElement>();
checkedTypedefs = new Set<TypedefElement>();

Powered by Google App Engine
This is Rietveld 408576698