Skip to content

Commit 6446a92

Browse files
authored
Enable experimental feature testing again for 2.14 (#2625)
* analyzer 1.5.0 and enable features * use flutter pub to activate dartdoc
1 parent 3f54a3b commit 6446a92

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ environment:
77
sdk: '>=2.11.99 <3.0.0'
88

99
dependencies:
10-
analyzer: ^1.4.0
10+
analyzer: ^1.5.0
1111
args: ^2.0.0
1212
charcode: ^1.2.0
1313
collection: ^1.2.0
@@ -27,7 +27,7 @@ dependencies:
2727
dev_dependencies:
2828
async: ^2.0.8
2929
build: ^2.0.0
30-
build_runner: ^1.10.0
30+
build_runner: ^2.0.1
3131
build_test: ^2.0.0
3232
build_version: ^2.0.1
3333
coverage: ^1.0.2

test/end2end/model_special_cases_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ void main() {
7777
final _generalizedTypedefsAllowed =
7878
VersionRange(min: Version.parse('2.13.0-0'), includeMin: true);
7979
final _genericMetadataAllowed =
80-
VersionRange(min: Version.parse('2.15.0-0'), includeMin: true);
80+
VersionRange(min: Version.parse('2.14.0-0'), includeMin: true);
8181
final _tripleShiftAllowed =
82-
VersionRange(min: Version.parse('2.15.0-0'), includeMin: true);
82+
VersionRange(min: Version.parse('2.14.0-0'), includeMin: true);
8383

8484
// Experimental features not yet enabled by default. Move tests out of this
8585
// block when the feature is enabled by default.

tool/grind.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -916,8 +916,8 @@ Future<List<Map>> _buildFlutterDocs(
916916
);
917917
// TODO(jcollins-g): flutter's dart SDK pub tries to precompile the universe
918918
// when using -spath. Why?
919-
await flutterRepo.launcher.runStreamed(
920-
'pub', ['global', 'activate', '-spath', '.', '-x', 'dartdoc'],
919+
await flutterRepo.launcher.runStreamed(flutterRepo.cachePub,
920+
['global', 'activate', '-spath', '.', '-x', 'dartdoc'],
921921
workingDirectory: await futureCwd);
922922
return await flutterRepo.launcher.runStreamed(
923923
flutterRepo.cacheDart,

0 commit comments

Comments
 (0)