| Index: sdk/lib/_internal/lib/interceptors.dart
|
| diff --git a/sdk/lib/_internal/lib/interceptors.dart b/sdk/lib/_internal/lib/interceptors.dart
|
| index bcfef4387920b3b1aea9ded66d3a32388017a9c4..1650d14ec42bf36ac2b102c090de03397e74c205 100644
|
| --- a/sdk/lib/_internal/lib/interceptors.dart
|
| +++ b/sdk/lib/_internal/lib/interceptors.dart
|
| @@ -295,7 +295,10 @@ var interceptedNames;
|
| * allows dummy receiver optimization.
|
| */
|
| abstract class Interceptor {
|
| - const Interceptor();
|
| + Interceptor() {
|
| + throw new UnsupportedError(
|
| + "Generative constructors not supported on native types.");
|
| + }
|
|
|
| bool operator ==(other) => identical(this, other);
|
|
|
|
|