Index: pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart |
diff --git a/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart b/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart |
index fccfb8042bee4f2fb745432b3d309880a72bc3d1..c87947a5675ecc39248966cb4f9a2492aed8e7b2 100644 |
--- a/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart |
+++ b/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart |
@@ -1572,20 +1572,6 @@ class SimpleTypeInferrerVisitor<T> |
} |
@override |
- T handleAssert(ast.Send node, ast.Node expression) { |
- js.JavaScriptBackend backend = compiler.backend; |
- Element element = backend.assertMethod; |
- ArgumentsTypes<T> arguments = |
- new ArgumentsTypes<T>(<T>[expression.accept(this)], null); |
- return handleStaticSend( |
- node, |
- new Selector.fromElement(element), |
- null, |
- element, |
- arguments); |
- } |
- |
- @override |
T handleTypeLiteralInvoke(ast.NodeList arguments) { |
// This is reached when users forget to put a `new` in front of a type |
// literal. The emitter will generate an actual call (even though it is |