| Index: pkg/front_end/lib/src/fasta/testing/validating_instrumentation.dart
|
| diff --git a/pkg/front_end/lib/src/fasta/testing/validating_instrumentation.dart b/pkg/front_end/lib/src/fasta/testing/validating_instrumentation.dart
|
| index ecc6981f11009cca976e9ac10a54ff891001b58b..c813ab8dd418d250dbaf3cbde916e66b31c3cfce 100644
|
| --- a/pkg/front_end/lib/src/fasta/testing/validating_instrumentation.dart
|
| +++ b/pkg/front_end/lib/src/fasta/testing/validating_instrumentation.dart
|
| @@ -24,7 +24,8 @@ class ValidatingInstrumentation implements Instrumentation {
|
| 'typeArgs',
|
| 'promotedType',
|
| 'type',
|
| - 'returnType'
|
| + 'returnType',
|
| + 'target',
|
| ],
|
| };
|
|
|
| @@ -176,7 +177,11 @@ class ValidatingInstrumentation implements Instrumentation {
|
| }
|
|
|
| String _escape(String s) {
|
| - return s.replaceAll(r'\', r'\\').replaceAll('*/', r'*\/');
|
| + s = s.replaceAll(r'\', r'\\');
|
| + if (s.endsWith('/')) {
|
| + s = '$s ';
|
| + }
|
| + return s.replaceAll('/*', r'/\*').replaceAll('*/', r'*\/');
|
| }
|
|
|
| String _formatProblem(
|
|
|