Index: pkg/compiler/lib/src/helpers/trace.dart |
diff --git a/pkg/compiler/lib/src/helpers/trace.dart b/pkg/compiler/lib/src/helpers/trace.dart |
index 3225c269d882a538f688010e46735de83f953433..a6bdcf67c2b307ef405b834893223cec8822ca6f 100644 |
--- a/pkg/compiler/lib/src/helpers/trace.dart |
+++ b/pkg/compiler/lib/src/helpers/trace.dart |
@@ -53,12 +53,6 @@ void _trace(String message, {bool condition(String stackTrace), int limit, |
} |
} |
-/// Creates a function to use as an `condition` argument in [trace] that filters |
-/// stack traces that contains any of the [exceptions]. |
-traceExceptions(List<String> exceptions) { |
- return (String stackTrace) => !exceptions.any(stackTrace.contains); |
-} |
- |
/// Function signature of [traceAndReport]. |
typedef void TraceAndReport(Compiler compiler, Spannable node, String message, |
{bool condition(String stackTrace), int limit, |