Skip to content

Commit

Permalink
Enable enhanced parts experiment for macros code.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmorgan committed Sep 2, 2024
1 parent 458283e commit a8b1e5a
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 8 deletions.
1 change: 1 addition & 0 deletions working/macros/dart_model/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ analyzer:
enable-experiment:
# For augmentations.
- macros
- enhanced-parts

exclude:
- /**.a.dart
Expand Down
2 changes: 1 addition & 1 deletion working/macros/dart_model/dart_model/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: dart_model
publish-to: none

environment:
sdk: ^3.4.0
sdk: ^3.6.0-0

dev_dependencies:
test: ^1.25.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: dart_model_analyzer_service
publish-to: none

environment:
sdk: ^3.4.0
sdk: ^3.6.0-0

dependencies:
analyzer: '>=5.2.0 <7.0.0'
Expand Down
2 changes: 1 addition & 1 deletion working/macros/dart_model/dart_model_repl/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: dart_model_repl
publish-to: none

environment:
sdk: ^3.4.0
sdk: ^3.6.0-0

dependencies:
analyzer: any
Expand Down
2 changes: 1 addition & 1 deletion working/macros/dart_model/macro_client/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: macro_client
publish-to: none

environment:
sdk: ^3.4.0
sdk: ^3.6.0-0

dependencies:
dart_model: any
Expand Down
2 changes: 1 addition & 1 deletion working/macros/dart_model/macro_host/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: macro_host
publish-to: none

environment:
sdk: ^3.4.0
sdk: ^3.6.0-0

dependencies:
analyzer: any
Expand Down
2 changes: 1 addition & 1 deletion working/macros/dart_model/macro_protocol/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: macro_protocol
publish-to: none

environment:
sdk: ^3.4.0
sdk: ^3.6.0-0

dependencies:
dart_model: any
Expand Down
2 changes: 1 addition & 1 deletion working/macros/dart_model/testing/benchmark/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: benchmark
publish-to: none

environment:
sdk: ^3.4.0
sdk: ^3.6.0-0

dependencies:
collection: any
Expand Down
1 change: 1 addition & 0 deletions working/macros/example/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ include: ../../../analysis_options.yaml

analyzer:
enable-experiment:
- enhanced-parts
- macros
exclude:
# TODO: remove these when the analyzer supports macros enough to run them
Expand Down
2 changes: 1 addition & 1 deletion working/macros/example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: macro_proposal
publish_to: none
environment:
sdk: ">=3.3.0-0 <4.0.0"
sdk: ">=3.6.0-0 <4.0.0"
dependencies:
macros: ^0.1.0-main
dev_dependencies:
Expand Down

0 comments on commit a8b1e5a

Please sign in to comment.