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

Unified Diff: sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart

Issue 17825002: Remove support for 'argument definitions test' from dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove SentinelConstant. Created 7 years, 6 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
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/tree/nodes.dart ('k') | sdk/lib/_internal/lib/core_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart
diff --git a/sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart b/sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart
index 81d00bb7e23e519d66b3798b14d2fe64b2ac78a9..865c1986e34b60bedf9c80d5ca90b2c89d412a80 100644
--- a/sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart
+++ b/sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart
@@ -418,9 +418,6 @@ abstract class InferrerVisitor extends ResolvedVisitor<TypeMask> {
TypeMask receiverType = visit(node.receiver);
DartType type = elements.getType(node.arguments.head);
return narrowType(receiverType, type, compiler);
- } else if (node.isParameterCheck) {
- node.visitChildren(this);
- return inferrer.boolType;
} else if (node.argumentsNode is Prefix) {
// Unary operator.
return visitDynamicSend(node);
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/tree/nodes.dart ('k') | sdk/lib/_internal/lib/core_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698