| Index: sdk/lib/_internal/compiler/implementation/closure.dart
|
| ===================================================================
|
| --- sdk/lib/_internal/compiler/implementation/closure.dart (revision 27549)
|
| +++ sdk/lib/_internal/compiler/implementation/closure.dart (working copy)
|
| @@ -536,6 +536,9 @@
|
| } else if (node.isTypeCast) {
|
| DartType type = elements.getType(node.arguments.head);
|
| analyzeType(type);
|
| + } else if (element == compiler.assertMethod
|
| + && !compiler.enableUserAssertions) {
|
| + return;
|
| }
|
| node.visitChildren(this);
|
| }
|
|
|