| Index: sdk/lib/_internal/compiler/js_lib/annotations.dart
|
| diff --git a/sdk/lib/_internal/compiler/js_lib/annotations.dart b/sdk/lib/_internal/compiler/js_lib/annotations.dart
|
| index 1e63cf99a61c7774b6d5735ea8915acc36ed0e16..435221d7d262e1494ae42715048372d7fb61883f 100644
|
| --- a/sdk/lib/_internal/compiler/js_lib/annotations.dart
|
| +++ b/sdk/lib/_internal/compiler/js_lib/annotations.dart
|
| @@ -34,3 +34,18 @@ class Native {
|
| final String name;
|
| const Native(this.name);
|
| }
|
| +
|
| +class _Patch {
|
| + final String version;
|
| +
|
| + const _Patch(this.version);
|
| +}
|
| +
|
| +/// Annotation that marks the declaration as a patch.
|
| +const _Patch patch = const _Patch(null);
|
| +
|
| +/// Annotation that marks the declaration as a patch for the old emitter.
|
| +const _Patch patch_old = const _Patch('old');
|
| +
|
| +/// Annotation that marks the declaration as a patch for the new emitter.
|
| +const _Patch patch_new = const _Patch('new');
|
|
|