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

Unified Diff: frog/leg/ssa/codegen.dart

Issue 9616058: Implement parsing and resolving of type-variables. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 8 years, 9 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: frog/leg/ssa/codegen.dart
diff --git a/frog/leg/ssa/codegen.dart b/frog/leg/ssa/codegen.dart
index 7c15342fd83f977caa2b01215cdce01b557b2cd7..8dd613c7f7840fd81862e2fee068986eb394e583 100644
--- a/frog/leg/ssa/codegen.dart
+++ b/frog/leg/ssa/codegen.dart
@@ -971,6 +971,9 @@ class SsaCodeGenerator implements HVisitor {
void visitIs(HIs node) {
Element element = node.typeExpression;
+ if (node.typeExpression.kind === ElementKind.TYPE_VARIABLE) {
+ compiler.unimplemented("visitIs for type variables");
ngeoffray 2012/03/18 13:40:57 Do we actually end up here if the builder says uni
+ }
compiler.registerIsCheck(element);
LibraryElement coreLibrary = compiler.coreLibrary;
ClassElement objectClass = coreLibrary.find(const SourceString('Object'));

Powered by Google App Engine
This is Rietveld 408576698