Macro. Re-export package:_macros/src/executor/response_impls.dart from 'package:macros'.
Change-Id: I89e59cbac52edb5197e409e3000c5a3dedd80b3a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/371421
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Jake Macdonald <jakemac@google.com>
diff --git a/pkg/analyzer/lib/src/summary2/macro_cache.dart b/pkg/analyzer/lib/src/summary2/macro_cache.dart
index 3146fa9..af195ca 100644
--- a/pkg/analyzer/lib/src/summary2/macro_cache.dart
+++ b/pkg/analyzer/lib/src/summary2/macro_cache.dart
@@ -4,7 +4,6 @@
import 'dart:typed_data';
-import 'package:_macros/src/executor/response_impls.dart' as macro;
import 'package:analyzer/dart/element/element.dart';
import 'package:analyzer/src/dart/analysis/file_state.dart';
import 'package:analyzer/src/dart/analysis/library_graph.dart';
@@ -18,6 +17,7 @@
import 'package:macros/macros.dart' as macro;
import 'package:macros/src/executor.dart' as macro;
import 'package:macros/src/executor/introspection_impls.dart' as macro;
+import 'package:macros/src/executor/response_impls.dart' as macro;
macro.MacroExecutionResult readMacroExecutionResult({
required DeclarationBuilder declarationBuilder,
diff --git a/pkg/analyzer/pubspec.yaml b/pkg/analyzer/pubspec.yaml
index 45ff8de..43f2bda 100644
--- a/pkg/analyzer/pubspec.yaml
+++ b/pkg/analyzer/pubspec.yaml
@@ -13,8 +13,7 @@
convert: ^3.0.0
crypto: ^3.0.0
glob: ^2.0.0
- _macros: '>=0.3.0 <0.4.0'
- macros: '>=0.1.2-0 <0.1.3'
+ macros: '>=0.1.2-main.3 <0.1.3'
meta: ^1.15.0
package_config: ^2.0.0
path: ^1.9.0
diff --git a/pkg/macros/CHANGELOG.md b/pkg/macros/CHANGELOG.md
index 0b04075..ca87dd0 100644
--- a/pkg/macros/CHANGELOG.md
+++ b/pkg/macros/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 0.1.2-main.3
+
+- Re-export 'package:_macros/src/executor/response_impls.dart'.
+
## 0.1.2-main.2
- Re-publish of `0.1.2-main.1` which was retracted due to a corrupted tar file.
diff --git a/pkg/macros/lib/src/executor/response_impls.dart b/pkg/macros/lib/src/executor/response_impls.dart
new file mode 100644
index 0000000..da81146
--- /dev/null
+++ b/pkg/macros/lib/src/executor/response_impls.dart
@@ -0,0 +1,5 @@
+// Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+export 'package:_macros/src/executor/response_impls.dart';
diff --git a/pkg/macros/pubspec.yaml b/pkg/macros/pubspec.yaml
index 85e6f1e..890b7f9 100644
--- a/pkg/macros/pubspec.yaml
+++ b/pkg/macros/pubspec.yaml
@@ -1,5 +1,5 @@
name: macros
-version: 0.1.2-main.2
+version: 0.1.2-main.3
description: >-
This package is for macro authors, and exposes the APIs necessary to write
a macro. It exports the APIs from the private `_macros` SDK vendored package.