Index: pkg/compiler/lib/src/resolution/members.dart |
diff --git a/pkg/compiler/lib/src/resolution/members.dart b/pkg/compiler/lib/src/resolution/members.dart |
index abbf93f5d59d1e412a0092d9a45bf6f6e1ade961..e167b444b22213d65ecbb5f081d4473189571eb5 100644 |
--- a/pkg/compiler/lib/src/resolution/members.dart |
+++ b/pkg/compiler/lib/src/resolution/members.dart |
@@ -464,12 +464,6 @@ class ResolverVisitor extends MappingVisitor<ResolutionResult> { |
} |
ResolutionResult visitAssert(Assert node) { |
- if (!options.enableAssertMessage) { |
- if (node.hasMessage) { |
- reporter.reportErrorMessage( |
- node, MessageKind.EXPERIMENTAL_ASSERT_MESSAGE); |
- } |
- } |
// TODO(sra): We could completely ignore the assert in production mode if we |
// didn't need it to be resolved for type checking. |
registry.registerFeature( |