Skip to content

Commit cc073a0

Browse files
scheglovCommit Queue
authored and
Commit Queue
committed
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 <[email protected]> Reviewed-by: Jake Macdonald <[email protected]>
1 parent 1ec4677 commit cc073a0

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

pkg/analyzer/lib/src/summary2/macro_cache.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
import 'dart:typed_data';
66

7-
import 'package:_macros/src/executor/response_impls.dart' as macro;
87
import 'package:analyzer/dart/element/element.dart';
98
import 'package:analyzer/src/dart/analysis/file_state.dart';
109
import 'package:analyzer/src/dart/analysis/library_graph.dart';
@@ -18,6 +17,7 @@ import 'package:analyzer/src/summary2/reference.dart';
1817
import 'package:macros/macros.dart' as macro;
1918
import 'package:macros/src/executor.dart' as macro;
2019
import 'package:macros/src/executor/introspection_impls.dart' as macro;
20+
import 'package:macros/src/executor/response_impls.dart' as macro;
2121

2222
macro.MacroExecutionResult readMacroExecutionResult({
2323
required DeclarationBuilder declarationBuilder,

pkg/analyzer/pubspec.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ dependencies:
1313
convert: ^3.0.0
1414
crypto: ^3.0.0
1515
glob: ^2.0.0
16-
_macros: '>=0.3.0 <0.4.0'
17-
macros: '>=0.1.2-0 <0.1.3'
16+
macros: '>=0.1.2-main.3 <0.1.3'
1817
meta: ^1.15.0
1918
package_config: ^2.0.0
2019
path: ^1.9.0

pkg/macros/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.1.2-main.3
2+
3+
- Re-export 'package:_macros/src/executor/response_impls.dart'.
4+
15
## 0.1.2-main.2
26

37
- Re-publish of `0.1.2-main.1` which was retracted due to a corrupted tar file.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
5+
export 'package:_macros/src/executor/response_impls.dart';

pkg/macros/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: macros
2-
version: 0.1.2-main.2
2+
version: 0.1.2-main.3
33
description: >-
44
This package is for macro authors, and exposes the APIs necessary to write
55
a macro. It exports the APIs from the private `_macros` SDK vendored package.

0 commit comments

Comments
 (0)