| Index: pkg/compiler/lib/src/kernel/native_basic_data.dart
|
| diff --git a/pkg/compiler/lib/src/kernel/native_basic_data.dart b/pkg/compiler/lib/src/kernel/native_basic_data.dart
|
| index daeb41b630b4844b44a4bb9f51169f97d3eb52a5..b9420fa270ba2cddc7251310039689f6a4c7caae 100644
|
| --- a/pkg/compiler/lib/src/kernel/native_basic_data.dart
|
| +++ b/pkg/compiler/lib/src/kernel/native_basic_data.dart
|
| @@ -25,8 +25,7 @@ class KernelAnnotationProcessor implements AnnotationProcessor {
|
| if (annotationName == null) {
|
| annotationName = name;
|
| } else if (name != null) {
|
| - throw new SpannableAssertionFailure(
|
| - cls, 'Too many name annotations.');
|
| + failedAt(cls, 'Too many name annotations.');
|
| }
|
| }
|
| if (annotationName != null) {
|
|
|