| Index: pkg/front_end/lib/src/base/instrumentation.dart
|
| diff --git a/pkg/front_end/lib/src/base/instrumentation.dart b/pkg/front_end/lib/src/base/instrumentation.dart
|
| index 8957d9f7e02da380d000f8153b6ff8493948e7ac..ba78dcd4b50ea499c9ace74b71d188b04e2f518a 100644
|
| --- a/pkg/front_end/lib/src/base/instrumentation.dart
|
| +++ b/pkg/front_end/lib/src/base/instrumentation.dart
|
| @@ -35,7 +35,13 @@ class InstrumentationValueForType extends InstrumentationValue {
|
| @override
|
| String toString() {
|
| // Convert '→' to '->' because '→' doesn't show up in some terminals.
|
| - return type.toString().replaceAll('→', '->');
|
| + // Remove prefixes that are used very often in tests.
|
| + return type
|
| + .toString()
|
| + .replaceAll('→', '->')
|
| + .replaceAll('dart.core::', '')
|
| + .replaceAll('dart.async::', '')
|
| + .replaceAll('test::', '');
|
| }
|
| }
|
|
|
|
|