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

Unified Diff: sdk/lib/_internal/compiler/implementation/ssa/builder.dart

Issue 11557010: Implement subtype checks on type arguments. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update test expectations. Created 8 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: sdk/lib/_internal/compiler/implementation/ssa/builder.dart
diff --git a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
index 8e807d80b86a8edf7077ca1489a1a4dfd8b621da..16da44b0d6f832c4e4937a6b7488101c44104848 100644
--- a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
+++ b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
@@ -3587,6 +3587,7 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
// on type arguments.
generateRuntimeError(node, '$type is malformed: $reasons');
} else {
+ compiler.codegenWorld.instantiatedTypes.add(type);
ngeoffray 2012/12/12 12:09:11 You should not register in builder.dart, bit in co
karlklose 2012/12/12 14:50:47 I cannot do this now, we need a way to encode the
visitNewSend(node.send, type);
}
}

Powered by Google App Engine
This is Rietveld 408576698